rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
beast::fpad Struct Reference

Creates a padded field with an optiona fill character. More...

#include <iosformat.h>

Public Member Functions

 fpad (int width_, int pad_=0, char fill_=' ')
 

Public Attributes

int const width
 
char const fill
 

Friends

template<class CharT , class Traits >
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, fpad const &f)
 

Detailed Description

Creates a padded field with an optiona fill character.

Definition at line 64 of file iosformat.h.

Constructor & Destructor Documentation

◆ fpad()

beast::fpad::fpad ( int  width_,
int  pad_ = 0,
char  fill_ = ' ' 
)
explicit

Definition at line 66 of file iosformat.h.

Friends And Related Symbol Documentation

◆ operator<<

template<class CharT , class Traits >
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  os,
fpad const &  f 
)
friend

Definition at line 73 of file iosformat.h.

Member Data Documentation

◆ width

int const beast::fpad::width

Definition at line 70 of file iosformat.h.

◆ fill

char const beast::fpad::fill

Definition at line 71 of file iosformat.h.