proxygen
folly::FormatValue< NoncopyableInt > Class Template Reference

Public Member Functions

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

Private Attributes

const NoncopyableInt & v_
 

Detailed Description

template<>
class folly::FormatValue< NoncopyableInt >

Definition at line 546 of file FormatTest.cpp.

Constructor & Destructor Documentation

folly::FormatValue< NoncopyableInt >::FormatValue ( const NoncopyableInt &  v)
inlineexplicit

Definition at line 548 of file FormatTest.cpp.

548 : v_(v) {}

Member Function Documentation

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

Definition at line 551 of file FormatTest.cpp.

References folly::format().

551  {
552  FormatValue<int>(v_.value).format(arg, cb);
553  }
void format(FormatArg &arg, FormatCallback &cb) const
Definition: FormatTest.cpp:551

Member Data Documentation

const NoncopyableInt& folly::FormatValue< NoncopyableInt >::v_
private

Definition at line 556 of file FormatTest.cpp.


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