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_comparable< 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< X >()==std::declval< X >(), void(), std::true_type())
 
template<class X >
static auto test (...) -> std::false_type
 

Detailed Description

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

Definition at line 88 of file Teuchos_any.hpp.

Member Typedef Documentation

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

Definition at line 95 of file Teuchos_any.hpp.

Member Function Documentation

template<class T>
template<class X >
static auto Teuchos::is_comparable< T >::test ( int  ) -> decltype(std::declval< X >()==std::declval< X >(), void(), std::true_type())
static
template<class T>
template<class X >
static auto Teuchos::is_comparable< T >::test (   ...) -> std::false_type
static

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