Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
Teuchos::is_printable< T > Struct Template Reference

#include <Teuchos_any.hpp>

Public Types

using type = decltype(test< T >(0))
 

Static Public Member Functions

template<class X >
static auto test (int) -> decltype(std::declval< std::ostream & >()<< std::declval< X >(), void(), std::true_type())
 
template<class X >
static auto test (...) -> std::false_type
 

Detailed Description

template<class T>
struct Teuchos::is_printable< T >

Definition at line 99 of file Teuchos_any.hpp.

Member Typedef Documentation

◆ type

template<class T >
using Teuchos::is_printable< T >::type = decltype(test<T>(0))

Definition at line 106 of file Teuchos_any.hpp.

Member Function Documentation

◆ test() [1/2]

template<class T >
template<class X >
static auto Teuchos::is_printable< T >::test ( int  ) -> decltype(std::declval< std::ostream & >()<< std::declval< X >(), void(), std::true_type())
static

◆ test() [2/2]

template<class T >
template<class X >
static auto Teuchos::is_printable< T >::test (   ...) -> std::false_type
static

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