Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 66 of file Teuchos_any.hpp.

Member Typedef Documentation

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

Definition at line 73 of file Teuchos_any.hpp.

Member Function Documentation

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
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: