You.i Engine
YiHasOutputStreamOperator< STREAM, TYPE > Struct Template Reference

Detailed Description

template<typename STREAM, typename TYPE>
struct YiHasOutputStreamOperator< STREAM, TYPE >

Template trait utility that checks if there exists an operator<<(STREAM &, const TYPE &) function for type TYPE and stream type STREAM.

Example:

template<typename T>
static bool IsPrintable()
{
return isPrintable;
}

#include <utility/YiTypeTraits.h>

Static Public Attributes

static const bool value
 

Member Data Documentation

◆ value

template<typename STREAM , typename TYPE >
const bool YiHasOutputStreamOperator< STREAM, TYPE >::value
static

The result of the check. The value token will have a value of either true or false.


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