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

◆ type

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

◆ test() [1/2]

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

◆ test() [2/2]

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: