diff --git a/include/blt/std/memory.h b/include/blt/std/memory.h index 9bf6a61..d782cdd 100755 --- a/include/blt/std/memory.h +++ b/include/blt/std/memory.h @@ -223,11 +223,6 @@ namespace blt return _buffer; } - ptr_iterator begin() - { - return ptr_iterator{_buffer}; - } - inline T* data() const { return _buffer; @@ -238,6 +233,11 @@ namespace blt return ptr_iterator{_buffer}; } + ptr_iterator begin() + { + return ptr_iterator{_buffer}; + } + ptr_iterator end() { return ptr_iterator{&_buffer[_size]};