diff --git a/include/blt/std/memory.h b/include/blt/std/memory.h index 4114cb2..c20a98b 100755 --- a/include/blt/std/memory.h +++ b/include/blt/std/memory.h @@ -228,6 +228,16 @@ namespace blt return ptr_iterator{_buffer}; } + inline T* data() const + { + return _buffer; + } + + ptr_iterator data() + { + return ptr_iterator{_buffer}; + } + ptr_iterator end() { return ptr_iterator{&_buffer[_size]};