OTest2
A C++ testing framework
Static Public Member Functions | List of all members
OTest2::PrintTrait< Type_ > Struct Template Reference

Generic type trait. More...

#include <printtraits.h>

Static Public Member Functions

static std::ostream & print (std::ostream &os_, typename TypeTrait< Type_ >::BestArg value_)
 

Detailed Description

template<typename Type_>
struct OTest2::PrintTrait< Type_ >

Generic type trait.

The type traits are used for printing of assertion arguments. User is supposed implementing own traits

Definition at line 38 of file printtraits.h.

Member Function Documentation

◆ print()

template<typename Type_ >
static std::ostream& OTest2::PrintTrait< Type_ >::print ( std::ostream &  os_,
typename TypeTrait< Type_ >::BestArg  value_ 
)
inlinestatic

Definition at line 39 of file printtraits.h.


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