![]() |
ATLAS Offline Software
|
Wrapper for C++26 std::inplace_vector.
More...
#include <version>#include <boost/container/small_vector.hpp>Go to the source code of this file.
Namespaces | |
| namespace | CxxUtils |
Typedefs | |
| template<class T, size_t N> | |
| using | CxxUtils::inplace_vector = boost::container::small_vector<T, N> |
Wrapper for C++26 std::inplace_vector.
C++26 adds std::inplace_vector, where the vector is contained within the instance (with a fixed upper bound) rather than being dynamically allocated. This wraps std::inplace_vector as CxxUtils::inplace_vector, falling back to boost::container::small_vector if std::inplace_vector is not available.
Definition in file inplace_vector.h.