Public Member Functions | Public Attributes | List of all members
internal::char_counter Struct Reference

#include <format-inl.h>

Public Member Functions

template<typename F >
void insert (ptrdiff_t, ptrdiff_t n, F)
 
void insert (ptrdiff_t, char)
 
void append (ptrdiff_t n, char)
 
void append (char)
 
void remove_trailing (char)
 

Public Attributes

ptrdiff_t size
 

Detailed Description

Definition at line 659 of file format-inl.h.

Member Function Documentation

void internal::char_counter::append ( ptrdiff_t  n,
char   
)
inline

Definition at line 665 of file format-inl.h.

665 { size += n; }
std::size_t n
Definition: format.h:3399
void internal::char_counter::append ( char  )
inline

Definition at line 666 of file format-inl.h.

666 { ++size; }
template<typename F >
void internal::char_counter::insert ( ptrdiff_t  ,
ptrdiff_t  n,
 
)
inline

Definition at line 663 of file format-inl.h.

663 { size += n; }
std::size_t n
Definition: format.h:3399
void internal::char_counter::insert ( ptrdiff_t  ,
char   
)
inline

Definition at line 664 of file format-inl.h.

664 { ++size; }
void internal::char_counter::remove_trailing ( char  )
inline

Definition at line 667 of file format-inl.h.

667 {}

Member Data Documentation

ptrdiff_t internal::char_counter::size

Definition at line 660 of file format-inl.h.


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