Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
magic_enum::containers::detail::indexing< E, Cmp, typename > Class Template Reference

#include <magic_enum_containers.hpp>

Static Public Member Functions

static constexpr optional< std::size_t > at (E val) noexcept
 
static constexpr const E * begin () noexcept
 
static constexpr const E * end () noexcept
 
static constexpr const E * it (std::size_t i) noexcept
 

Static Private Member Functions

static constexpr auto get_indices () noexcept
 

Static Private Attributes

static constexpr auto indices = get_indices()
 

Detailed Description

template<typename E = void, typename Cmp = std::less<E>, typename = void>
class magic_enum::containers::detail::indexing< E, Cmp, typename >

Definition at line 127 of file magic_enum_containers.hpp.

Member Function Documentation

◆ at()

template<typename E = void, typename Cmp = std::less<E>, typename = void>
static constexpr optional<std::size_t> magic_enum::containers::detail::indexing< E, Cmp, typename >::at ( val)
inlinestaticconstexprnoexcept

Definition at line 171 of file magic_enum_containers.hpp.

◆ begin()

template<typename E = void, typename Cmp = std::less<E>, typename = void>
static constexpr const E* magic_enum::containers::detail::indexing< E, Cmp, typename >::begin ( )
inlinestaticconstexprnoexcept

Definition at line 165 of file magic_enum_containers.hpp.

◆ end()

template<typename E = void, typename Cmp = std::less<E>, typename = void>
static constexpr const E* magic_enum::containers::detail::indexing< E, Cmp, typename >::end ( )
inlinestaticconstexprnoexcept

Definition at line 167 of file magic_enum_containers.hpp.

◆ get_indices()

template<typename E = void, typename Cmp = std::less<E>, typename = void>
static constexpr auto magic_enum::containers::detail::indexing< E, Cmp, typename >::get_indices ( )
inlinestaticconstexprprivatenoexcept

Definition at line 128 of file magic_enum_containers.hpp.

◆ it()

template<typename E = void, typename Cmp = std::less<E>, typename = void>
static constexpr const E* magic_enum::containers::detail::indexing< E, Cmp, typename >::it ( std::size_t  i)
inlinestaticconstexprnoexcept

Definition at line 169 of file magic_enum_containers.hpp.

Member Data Documentation

◆ indices

template<typename E = void, typename Cmp = std::less<E>, typename = void>
constexpr auto magic_enum::containers::detail::indexing< E, Cmp, typename >::indices = get_indices()
staticconstexprprivate

Definition at line 162 of file magic_enum_containers.hpp.


The documentation for this class was generated from the following file:


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