const ptr

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

View File

@ -218,6 +218,11 @@ namespace blt
return _buffer; return _buffer;
} }
inline T* ptr() const
{
return _buffer;
}
ptr_iterator<T> begin() ptr_iterator<T> begin()
{ {
return ptr_iterator{_buffer}; return ptr_iterator{_buffer};