CppUnit project page CppUnit home page

CppUT::DefaultStringizer< ValueType > Struct Template Reference
[Assertion support]

A generic functor that can be used to convert a value into a string.

It is used as default argument by function template that allow the user to pass a specific functor to convert data to string. More...

#include <cpput/stringize.h>

List of all members.

Public Member Functions

std::string operator() (const ValueType &value) const


Detailed Description

template<class ValueType>
struct CppUT::DefaultStringizer< ValueType >

A generic functor that can be used to convert a value into a string.

It is used as default argument by function template that allow the user to pass a specific functor to convert data to string.

Warning:
This class template should not be specialized. See stringize() for detail.

Member Function Documentation

template<class ValueType>
std::string CppUT::DefaultStringizer< ValueType >::operator() ( const ValueType &  value  )  const [inline]

References CppUT::stringize().


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

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers