sandbox
Loading...
Searching...
No Matches
sbx::utility::basic_string_literal< Character, Size > Class Template Reference

Public Types

using character_type = Character
 
using size_type = std::size_t
 
using iterator = const character_type *
 
using string_view_type = std::basic_string_view< character_type >
 

Public Member Functions

constexpr basic_string_literal (const character_type(&data)[Size]) noexcept
 
constexpr auto begin () const noexcept -> iterator
 
constexpr auto end () const noexcept -> iterator
 
constexpr auto data () const noexcept -> const character_type *
 
constexpr auto size () const noexcept -> size_type
 
constexpr auto is_empty () const noexcept -> bool
 
constexpr auto operator[] (size_type index) const noexcept -> character_type
 
constexpr operator string_view_type () const noexcept
 

Public Attributes

std::array< character_type, Size - 1 > _data
 

Static Public Attributes

static constexpr auto npos = std::numeric_limits<size_type>::max()
 

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