allow access to vector data insides

v1
Brett 2024-04-12 00:03:56 -04:00
parent 9db3f12048
commit 898760e938
2 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake)
set(BLT_VERSION 0.16.8)
set(BLT_VERSION 0.16.9)
set(BLT_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT)

View File

@ -232,6 +232,16 @@ namespace blt
return (du / dv) * v;
}
inline auto* data()
{
return elements;
}
[[nodiscard]] inline const auto* data() const
{
return elements;
}
auto begin()
{
return elements.begin();