Public Member Functions | Public Attributes | List of all members
basic_writer< Range >::padded_int_writer< F > Struct Template Reference

Public Member Functions

size_t size () const
 
size_t width () const
 
template<typename It >
void operator() (It &&it) const
 

Public Attributes

size_t size_
 
string_view prefix
 
char_type fill
 
std::size_t padding
 
f
 

Detailed Description

template<typename Range>
template<typename F>
struct basic_writer< Range >::padded_int_writer< F >

Definition at line 2303 of file format.h.

Member Function Documentation

template<typename Range>
template<typename F >
template<typename It >
void basic_writer< Range >::padded_int_writer< F >::operator() ( It &&  it) const
inline

Definition at line 2314 of file format.h.

2314  {
2315  if (prefix.size() != 0)
2316  it = internal::copy_str<char_type>(prefix.begin(), prefix.end(), it);
2317  it = std::fill_n(it, padding, fill);
2318  f(it);
2319  }
FMT_CONSTEXPR size_t size() const
Definition: core.h:389
FMT_CONSTEXPR iterator end() const
Definition: core.h:392
FMT_CONSTEXPR iterator begin() const
Definition: core.h:391
template<typename Range>
template<typename F >
size_t basic_writer< Range >::padded_int_writer< F >::size ( void  ) const
inline

Definition at line 2310 of file format.h.

2310 { return size_; }
template<typename Range>
template<typename F >
size_t basic_writer< Range >::padded_int_writer< F >::width ( ) const
inline

Definition at line 2311 of file format.h.

2311 { return size_; }

Member Data Documentation

template<typename Range>
template<typename F >
F basic_writer< Range >::padded_int_writer< F >::f

Definition at line 2308 of file format.h.

template<typename Range>
template<typename F >
char_type basic_writer< Range >::padded_int_writer< F >::fill

Definition at line 2306 of file format.h.

template<typename Range>
template<typename F >
std::size_t basic_writer< Range >::padded_int_writer< F >::padding

Definition at line 2307 of file format.h.

template<typename Range>
template<typename F >
string_view basic_writer< Range >::padded_int_writer< F >::prefix

Definition at line 2305 of file format.h.

template<typename Range>
template<typename F >
size_t basic_writer< Range >::padded_int_writer< F >::size_

Definition at line 2304 of file format.h.


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