arsenalgear-cpp
A library containing general purpose C++ utils.
Public Member Functions | Static Public Attributes | List of all members
agr::select_cout< T > Struct Template Reference

Struct used to define a way to template the choice of the "std::cout" object in order to be "std::cout" for "char" type or "std::wcout" for "wchar_t" type. More...

#include <stream.hpp>

Public Member Functions

std::ostream & cout
 
std::wostream & cout
 

Static Public Attributes

static std::basic_ostream< T > & cout
 

Detailed Description

template<class T>
struct agr::select_cout< T >

Struct used to define a way to template the choice of the "std::cout" object in order to be "std::cout" for "char" type or "std::wcout" for "wchar_t" type.

Template Parameters
TThe template type of the "std::cout" object (char, wchar_t, ...).

Member Function Documentation

◆ cout() [1/2]

std::ostream & agr::select_cout< char >::cout
inline

◆ cout() [2/2]

std::wostream & agr::select_cout< wchar_t >::cout
inline

Member Data Documentation

◆ cout

template<class T >
std::basic_ostream<T>& agr::select_cout< T >::cout
static

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