diff --git a/CMakeLists.txt b/CMakeLists.txt index 42f06c0..01ab606 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.17.25) +set(BLT_VERSION 0.17.26) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/vector.h b/include/blt/std/vector.h index 1665072..d2cc209 100644 --- a/include/blt/std/vector.h +++ b/include/blt/std/vector.h @@ -264,10 +264,11 @@ namespace blt { if (v1.size() != v2.size()) return false; - for (blt::size_t i = 0; i < v1.size(); i++) { + for (blt::size_t i = 0; i < v1.size(); i++) + { if (v1[i] != v2[i]) return false; - } + } return true; } }; @@ -534,6 +535,18 @@ namespace blt } }; + template> + class svo_vector + { + public: + + private: + union buffer_data { + T* buffer_pointer; + T buffer[BUFFER_SIZE]; + }; + }; + } #endif //BLT_VECTOR_H