Add const versions of base_uint.end()/begin(), make size() const.
This commit is contained in:
parent
5f04881618
commit
68feac96b6
1 changed files with 11 additions and 1 deletions
|
@ -344,7 +344,17 @@ public:
|
|||
return (unsigned char*)&pn[WIDTH];
|
||||
}
|
||||
|
||||
unsigned int size()
|
||||
const unsigned char* begin() const
|
||||
{
|
||||
return (unsigned char*)&pn[0];
|
||||
}
|
||||
|
||||
const unsigned char* end() const
|
||||
{
|
||||
return (unsigned char*)&pn[WIDTH];
|
||||
}
|
||||
|
||||
unsigned int size() const
|
||||
{
|
||||
return sizeof(pn);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue