Support Class Library
A set of tools providing classes and utility
|
#include <iostream>
#include <string>
#include <utility>
#include <scl/macros.h>
#include <scl/tools/meta/enable_if.h>
#include <scl/tools/meta/void_t.h>
#include <scl/tools/meta/defines_scl_to_string.h>
#include <scl/tools/meta/defines_ostream_operator.h>
#include <scl/tools/meta/is_convertible.h>
#include <scl/tools/meta/type_mod.h>
#include <scl/utils/toString.h>
Go to the source code of this file.
Functions | |
template<class T , class T_ = scl::tools::meta ::decay_t<T>, class = scl::tools::meta ::void_t< scl::tools::meta ::enable_if_t< !( scl::tools::meta ::is_same<T_, char>() || scl::tools::meta ::is_same<T_, const char*>() || scl::tools::meta ::is_same<T_, std::string>() || scl::tools::meta ::defines_ostream_operator<T_>() ) && scl::tools::meta::defines_scl_to_string<T>() >>> | |
std::ostream & | operator<< (std::ostream &os, T &&obj) |
Automatically define the ostream operator<< when scl::utils::ToString is specialized. More... | |
std::ostream& operator<< | ( | std::ostream & | os, |
T && | obj | ||
) |
Automatically define the ostream operator<< when scl::utils::ToString is specialized.
T | being the value type to output |
os | being the output stream |
obj | the object to output on the output stream |
Definition at line 35 of file toString.h.