Public Member Functions | Private Member Functions | Private Attributes | List of all members
magic_enum::detail::static_str< N > Class Template Reference

#include <magic_enum.hpp>

Public Member Functions

constexpr const char_typedata () const noexcept
 
constexpr operator string_view () const noexcept
 
constexpr std::uint16_t size () const noexcept
 
constexpr static_str (str_view str) noexcept
 
constexpr static_str (string_view str) noexcept
 

Private Member Functions

template<std::uint16_t... I>
constexpr static_str (const char *str, std::integer_sequence< std::uint16_t, I... >) noexcept
 
template<std::uint16_t... I>
constexpr static_str (string_view str, std::integer_sequence< std::uint16_t, I... >) noexcept
 

Private Attributes

char_type chars_ [static_cast< std::size_t >(N)+1]
 

Detailed Description

template<std::uint16_t N>
class magic_enum::detail::static_str< N >

Definition at line 253 of file magic_enum.hpp.

Constructor & Destructor Documentation

◆ static_str() [1/4]

template<std::uint16_t N>
constexpr magic_enum::detail::static_str< N >::static_str ( str_view  str)
inlineexplicitconstexprnoexcept

Definition at line 255 of file magic_enum.hpp.

◆ static_str() [2/4]

template<std::uint16_t N>
constexpr magic_enum::detail::static_str< N >::static_str ( string_view  str)
inlineexplicitconstexprnoexcept

Definition at line 259 of file magic_enum.hpp.

◆ static_str() [3/4]

template<std::uint16_t N>
template<std::uint16_t... I>
constexpr magic_enum::detail::static_str< N >::static_str ( const char *  str,
std::integer_sequence< std::uint16_t, I... >   
)
inlineconstexprprivatenoexcept

Definition at line 271 of file magic_enum.hpp.

◆ static_str() [4/4]

template<std::uint16_t N>
template<std::uint16_t... I>
constexpr magic_enum::detail::static_str< N >::static_str ( string_view  str,
std::integer_sequence< std::uint16_t, I... >   
)
inlineconstexprprivatenoexcept

Definition at line 274 of file magic_enum.hpp.

Member Function Documentation

◆ data()

template<std::uint16_t N>
constexpr const char_type* magic_enum::detail::static_str< N >::data ( ) const
inlineconstexprnoexcept

Definition at line 263 of file magic_enum.hpp.

◆ operator string_view()

template<std::uint16_t N>
constexpr magic_enum::detail::static_str< N >::operator string_view ( ) const
inlineconstexprnoexcept

Definition at line 267 of file magic_enum.hpp.

◆ size()

template<std::uint16_t N>
constexpr std::uint16_t magic_enum::detail::static_str< N >::size ( ) const
inlineconstexprnoexcept

Definition at line 265 of file magic_enum.hpp.

Member Data Documentation

◆ chars_

template<std::uint16_t N>
char_type magic_enum::detail::static_str< N >::chars_[static_cast< std::size_t >(N)+1]
private

Definition at line 276 of file magic_enum.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19