proxygen
folly::FormatValue< float > Class Template Reference

#include <Format-inl.h>

Public Member Functions

 FormatValue (float val)
 
template<class FormatCallback >
void format (FormatArg &arg, FormatCallback &cb) const
 

Private Attributes

float val_
 

Detailed Description

template<>
class folly::FormatValue< float >

Definition at line 675 of file Format-inl.h.

Constructor & Destructor Documentation

folly::FormatValue< float >::FormatValue ( float  val)
inlineexplicit

Definition at line 677 of file Format-inl.h.

677 : val_(val) {}
double val
Definition: String.cpp:273

Member Function Documentation

template<class FormatCallback >
void folly::FormatValue< float >::format ( FormatArg arg,
FormatCallback &  cb 
) const
inline

Definition at line 680 of file Format-inl.h.

References folly::format().

680  {
681  FormatValue<double>(val_).format(arg, cb);
682  }
void format(FormatArg &arg, FormatCallback &cb) const
Definition: Format-inl.h:680

Member Data Documentation

float folly::FormatValue< float >::val_
private

Definition at line 685 of file Format-inl.h.


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