Public Member Functions | Private Types | Private Attributes | List of all members
detail::fill_t< Char > Struct Template Reference

#include <core.h>

Public Member Functions

constexpr auto data () const -> const Char *
 
FMT_CONSTEXPR void operator= (basic_string_view< Char > s)
 
FMT_CONSTEXPR auto operator[] (size_t index) -> Char &
 
FMT_CONSTEXPR auto operator[] (size_t index) const -> const Char &
 
constexpr auto size () const -> size_t
 

Private Types

enum  { max_size = 4 }
 

Private Attributes

Char data_ [max_size] = {Char(' '), Char(0), Char(0), Char(0)}
 
unsigned char size_ = 1
 

Detailed Description

template<typename Char>
struct detail::fill_t< Char >

Definition at line 2029 of file core.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Char >
anonymous enum
private
Enumerator
max_size 

Definition at line 2031 of file core.h.

Member Function Documentation

◆ data()

template<typename Char >
constexpr auto detail::fill_t< Char >::data ( ) const -> const Char*
inlineconstexpr

Definition at line 2044 of file core.h.

◆ operator=()

template<typename Char >
FMT_CONSTEXPR void detail::fill_t< Char >::operator= ( basic_string_view< Char >  s)
inline

Definition at line 2036 of file core.h.

◆ operator[]() [1/2]

template<typename Char >
FMT_CONSTEXPR auto detail::fill_t< Char >::operator[] ( size_t  index) -> Char&
inline

Definition at line 2046 of file core.h.

◆ operator[]() [2/2]

template<typename Char >
FMT_CONSTEXPR auto detail::fill_t< Char >::operator[] ( size_t  index) const -> const Char&
inline

Definition at line 2047 of file core.h.

◆ size()

template<typename Char >
constexpr auto detail::fill_t< Char >::size ( ) const -> size_t
inlineconstexpr

Definition at line 2043 of file core.h.

Member Data Documentation

◆ data_

template<typename Char >
Char detail::fill_t< Char >::data_[max_size] = {Char(' '), Char(0), Char(0), Char(0)}
private

Definition at line 2032 of file core.h.

◆ size_

template<typename Char >
unsigned char detail::fill_t< Char >::size_ = 1
private

Definition at line 2033 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30