Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
has_ostream_operator_impl< Class > Struct Template Reference

https://gist.github.com/szymek156/9b1b90fe474277be4641e9ef4666f472 More...

#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/tests/unittest/unittestUtils.hpp>

+ Collaboration diagram for has_ostream_operator_impl< Class >:

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
 

Detailed Description

template<class Class>
struct has_ostream_operator_impl< Class >

https://gist.github.com/szymek156/9b1b90fe474277be4641e9ef4666f472

Definition at line 48 of file unittestUtils.hpp.

Member Typedef Documentation

◆ type

template<class Class >
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.


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