container
container copied to clipboard
STL-like containers from Boost
ContainerHash now has generic support for ranges, contiguous ranges and unordered ranges, so `boost::hash` should work for the containers as-is, without the need for library-provided `hash_value` overloads. I don't see...
C++20 added a uniform interface `std::erase_if` to remove some elements from a container, with overloads for all the standard containers. I believe it would be useful to implement this for...
Constructors from `sequence_type &&` that behave as `adopt_sequence` would be nice to have.
Hi folks, I am trying to upgrade boost from 1.78.0 to 1.82.0. A blocking change is taking place, which breaks our compilation. `KeyNodeCompare`, when it is initializing for passing to...
In our project we have custom container (let's call it `CustomContainer`) that doesn't match `boost::container::dtl::container_rebind` specializations in the `include/boost/container/detail/container_rebind.hpp` file. Such a container is used in `flat_map` the following way:...
Let me preface this with the clarification that this is not an issue of the `container` code. This is more of a feature request. Consider a motivating story: I have...
I'm logging this bug because we already have several occurrences of this on our codebase. Unfortunately, I still haven't been able to figure out what is causing it and still...
This warning occurs when building with Clang from Visual Studio (using CMake). This affects - Clang 12.0.0 (from Visual Studio 2019) and Clang 15.0.1 (from Visual Studio 2022) - when...
`void insert(ordered_unique_range_t, InputIterator first, InputIterator last)` and friends don't validate that the range is sorted, while the corresponding constructor does. it would be great if this could be validated. i've...
std::map has a transparent erase function. flat_map should support the same interface. This means flat_map can be used with fewer allocations like so: boost::container::flat_map v; v.erase( "test"sv ); flat_map should...