dodo  0.0.1
A C++ library to create containerized Linux services
dodo::common::Puts::setprecision Struct Reference

Set the precision for floating point fixed format. More...

#include <puts.hpp>

Collaboration diagram for dodo::common::Puts::setprecision:

Public Member Functions

 setprecision (int p)
 Construct with precision. More...
 

Data Fields

int p_
 The precision. More...
 

Detailed Description

Set the precision for floating point fixed format.

See also
opeartor<<( setprecision )

Definition at line 110 of file puts.hpp.

Constructor & Destructor Documentation

◆ setprecision()

dodo::common::Puts::setprecision::setprecision ( int  p)
inline

Construct with precision.

Parameters
pThe precision.

Definition at line 115 of file puts.hpp.

Field Documentation

◆ p_

int dodo::common::Puts::setprecision::p_

The precision.

Definition at line 115 of file puts.hpp.

Referenced by dodo::common::Puts::operator<<().


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