https://gist.github.com/szymek156/9b1b90fe474277be4641e9ef4666f472 More...
#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/tests/unittest/unittestUtils.hpp>
Public Types | |
using | type = typename std::is_same<std::ostream&, decltype( test<Class>( 0 ) )>::type |
Static Public Member Functions | |
template<class V > | |
static auto | test (V *) -> decltype(std::declval< std::ostream >()<< std::declval< V >()) |
template<typename > | |
static auto | test (...) -> std::false_type |
https://gist.github.com/szymek156/9b1b90fe474277be4641e9ef4666f472
Definition at line 48 of file unittestUtils.hpp.
using has_ostream_operator_impl< Class >::type = typename std::is_same<std::ostream&, decltype( test<Class>( 0 ) )>::type |
Definition at line 54 of file unittestUtils.hpp.