Classes | Functions | Variables
magic_enum::containers::detail Namespace Reference

Classes

struct  FilteredIterator
 
class  indexing
 
class  indexing< E, Cmp, std::enable_if_t< std::is_enum_v< std::decay_t< E > > &&(std::is_same_v< Cmp, std::less< E >>||std::is_same_v< Cmp, std::less<>>)> >
 
struct  indexing< void, Cmp, void >
 
struct  name_sort_impl
 
struct  name_sort_impl< void, Cmp >
 
struct  raw_access_t
 

Functions

template<typename Eq = std::equal_to<>, typename T1 , typename T2 >
constexpr bool equal (T1 &&t1, T2 &&t2, Eq &&eq={})
 
template<typename Cmp = std::less<>, typename BidirIt , typename E >
constexpr auto equal_range (BidirIt begin, BidirIt end, E &&e, Cmp &&comp={})
 
template<typename Cmp = std::less<>, typename T1 , typename T2 >
constexpr bool lexicographical_compare (T1 &&t1, T2 &&t2, Cmp &&cmp={}) noexcept
 
template<typename Cmp = std::less<>, typename ForwardIt , typename E >
constexpr ForwardIt lower_bound (ForwardIt first, ForwardIt last, E &&e, Cmp &&comp={})
 
template<typename T >
constexpr std::size_t popcount (T x) noexcept
 
template<typename E , typename T , std::size_t N, std::size_t... I>
constexpr array< E, std::remove_cv_t< T > > to_array_impl (T(&&a)[N], std::index_sequence< I... >)
 
template<typename E , typename T , std::size_t N, std::size_t... I>
constexpr array< E, std::remove_cv_t< T > > to_array_impl (T(&a)[N], std::index_sequence< I... >)
 

Variables

template<typename T , typename = void>
constexpr bool is_transparent_v {}
 

Function Documentation

◆ equal()

template<typename Eq = std::equal_to<>, typename T1 , typename T2 >
constexpr bool magic_enum::containers::detail::equal ( T1 &&  t1,
T2 &&  t2,
Eq &&  eq = {} 
)
constexpr

Definition at line 61 of file magic_enum_containers.hpp.

◆ equal_range()

template<typename Cmp = std::less<>, typename BidirIt , typename E >
constexpr auto magic_enum::containers::detail::equal_range ( BidirIt  begin,
BidirIt  end,
E &&  e,
Cmp &&  comp = {} 
)
constexpr

Definition at line 121 of file magic_enum_containers.hpp.

◆ lexicographical_compare()

template<typename Cmp = std::less<>, typename T1 , typename T2 >
constexpr bool magic_enum::containers::detail::lexicographical_compare ( T1 &&  t1,
T2 &&  t2,
Cmp &&  cmp = {} 
)
constexprnoexcept

Definition at line 76 of file magic_enum_containers.hpp.

◆ lower_bound()

template<typename Cmp = std::less<>, typename ForwardIt , typename E >
constexpr ForwardIt magic_enum::containers::detail::lower_bound ( ForwardIt  first,
ForwardIt  last,
E &&  e,
Cmp &&  comp = {} 
)
constexpr

Definition at line 105 of file magic_enum_containers.hpp.

◆ popcount()

template<typename T >
constexpr std::size_t magic_enum::containers::detail::popcount ( x)
constexprnoexcept

Definition at line 95 of file magic_enum_containers.hpp.

◆ to_array_impl() [1/2]

template<typename E , typename T , std::size_t N, std::size_t... I>
constexpr array<E, std::remove_cv_t<T> > magic_enum::containers::detail::to_array_impl ( T(&&)  a[N],
std::index_sequence< I... >   
)
constexpr

Definition at line 458 of file magic_enum_containers.hpp.

◆ to_array_impl() [2/2]

template<typename E , typename T , std::size_t N, std::size_t... I>
constexpr array<E, std::remove_cv_t<T> > magic_enum::containers::detail::to_array_impl ( T(&)  a[N],
std::index_sequence< I... >   
)
constexpr

Definition at line 453 of file magic_enum_containers.hpp.

Variable Documentation

◆ is_transparent_v

template<typename T , typename = void>
constexpr bool magic_enum::containers::detail::is_transparent_v {}
inlineconstexpr

Definition at line 55 of file magic_enum_containers.hpp.



magic_enum
Author(s):
autogenerated on Fri Feb 21 2025 03:20:19