container
container copied to clipboard
STL-like containers from Boost
The company I work for - wants to migrate to newer version of boost (1.78 -> 1.80+), and next change (https://github.com/boostorg/container/commit/ccf13f6770409f22812fd9839314c97653e11d84#diff-0034e7b487413a758657a08287f73eaab77da00e768e8db209ed389cc59ad7a0R1226-R1270) - breaks the compilation: * in previous version (1.78):...
Consider this test code: ``` #include #include #include typedef boost::container::flat_map< std::uint8_t, std::string > my_map; void add_element(std::string& str, char elem) { str.push_back(elem); } int main() { my_map m; add_element(m[static_cast< std::uint8_t >(96u)],...
Hello! I have attached a code snippet. [main.txt](https://github.com/boostorg/boost/files/14530265/main.txt) If you build it like this: ``` g++ -O3 main.cpp ``` The output is not sorted, next timestamp should be 6000. ```...
For Boost.Histogram, I need a new type of container. I plan to implement a private version to keep histogram decoupled from Boost.Container, but I wanted to propose this type of...
boost version: 1.83.0 On my ubuntu runner with clang 14.0.0, the following error appears during compilation. ``` FAILED: _deps/boost-build/libs/container/CMakeFiles/boost_container.dir/src/alloc_lib.c.o /usr/bin/cc -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTAINER_STATIC_LINK -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/container/include -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/assert/include -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/config/include -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/intrusive/include -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/container_hash/include -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/describe/include -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/mp11/include -I/home/dnkpp/.vs/Simple-Utility/0fe7e91d-e50a-4d70-95e2-57ba0e29f76b/out/build/Linux-Clang-Debug/_deps/boost-src/libs/type_traits/include...
## Description I recently had a problem using `small_vector` in combination with `boost::geometry`. I am using the `boost::geometry::expand` function, by giving it two boxes as arguments (full code at the...
Current assign() implementation from iterator pairs is broken for single-pass iterators (https://en.cppreference.com/w/cpp/iterator/input_iterator) since it assumes that the iterators satisfy at least the forward-iterator requirements (w/o checking those).
The following assertion inside the two internal_storage() member functions of small_vector_allocator will errantly trigger under certain conditions on boost version 1.80.0. ` BOOST_ASSERT((std::size_t(this) % dtl::alignment_of::value) == 0); ` It appears...
I am trying to move-assign one container to the other: ``` void func(boost::container::deque& deque1){ boost::container::deque deque2; // Fill deque2 with elements. ... deque1 = std::move(deque2); } ``` If `T` is...
Any plans on finally ditching all the hundreds of LOCs for 'the pre-ancient days'/moving to at least cpp17? Or at the very least using std::pair instead of dtl::pair - it...