Public Member Functions | Private Types | Private Attributes | List of all members
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 fill_t< Char >

Definition at line 1883 of file core.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Char>
anonymous enum
private
Enumerator
max_size 

Definition at line 1885 of file core.h.

Member Function Documentation

◆ data()

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

Definition at line 1898 of file core.h.

◆ operator=()

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

Definition at line 1890 of file core.h.

◆ operator[]() [1/2]

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

Definition at line 1900 of file core.h.

◆ operator[]() [2/2]

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

Definition at line 1901 of file core.h.

◆ size()

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

Definition at line 1897 of file core.h.

Member Data Documentation

◆ data_

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

Definition at line 1886 of file core.h.

◆ size_

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

Definition at line 1887 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:54