v1
Brett 2023-10-25 01:23:33 -04:00
parent 4010df0e3f
commit 6252525091
1 changed files with 10 additions and 0 deletions

View File

@ -228,6 +228,16 @@ namespace blt
return ptr_iterator{_buffer}; return ptr_iterator{_buffer};
} }
inline T* data() const
{
return _buffer;
}
ptr_iterator<T> data()
{
return ptr_iterator{_buffer};
}
ptr_iterator<T> end() ptr_iterator<T> end()
{ {
return ptr_iterator{&_buffer[_size]}; return ptr_iterator{&_buffer[_size]};