From 4010df0e3f6bb8d83135c199956cf8cf4a399b00 Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 25 Oct 2023 01:23:16 -0400 Subject: [PATCH] const ptr --- include/blt/std/memory.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/blt/std/memory.h b/include/blt/std/memory.h index 5eaf4bb..4114cb2 100755 --- a/include/blt/std/memory.h +++ b/include/blt/std/memory.h @@ -218,6 +218,11 @@ namespace blt return _buffer; } + inline T* ptr() const + { + return _buffer; + } + ptr_iterator begin() { return ptr_iterator{_buffer};