ATLAS Offline Software
Loading...
Searching...
No Matches
flat_set.h File Reference

Wrapper for C++23 std::flat_set. More...

#include <version>
#include <functional>
#include <boost/container/flat_set.hpp>
Include dependency graph for flat_set.h:

Go to the source code of this file.

Namespaces

namespace  CxxUtils

Typedefs

template<class KEY, class COMPARE = std::less<KEY>, class KEYCONTAINER = void>
using CxxUtils::flat_set = boost::container::flat_set<KEY, COMPARE, KEYCONTANER>

Detailed Description

Wrapper for C++23 std::flat_set.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Mar, 2026

C++23 adds std::flat_set, representing a set as a sorted sequence. This wraps std::flat_set as CxxUtils::flat_set, falling back to boost::container::flat_set if std::flat_set is not available.

Definition in file flat_set.h.