spdlog
Loading...
Searching...
No Matches
Public Member Functions | Private Types | Private Attributes | List of all members
fill_t< Char > Struct Template Reference

Detailed Description

template<typename Char>
struct fill_t< Char >

Definition at line 1872 of file core.h.

#include <core.h>

Public Member Functions

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

Private Types

enum  { max_size = 4 }
 

Private Attributes

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

Member Enumeration Documentation

◆ anonymous enum

template<typename Char >
anonymous enum
private
Enumerator
max_size 

Definition at line 1874 of file core.h.

Member Function Documentation

◆ data()

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

Definition at line 1887 of file core.h.

◆ operator=()

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

Definition at line 1879 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 1889 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 1890 of file core.h.

◆ size()

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

Definition at line 1886 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 1875 of file core.h.

◆ size_

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

Definition at line 1876 of file core.h.


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