dune-common  2.3.1
Public Types | List of all members
Dune::IsInteroperable< T1, T2 > Struct Template Reference

Checks wether two types are interoperable. More...

#include <dune/common/typetraits.hh>

Public Types

enum  { value = Conversion<T1,T2>::exists || Conversion<T2,T1>::exists }
 

Detailed Description

template<class T1, class T2>
struct Dune::IsInteroperable< T1, T2 >

Checks wether two types are interoperable.

Two types are interoperable if conversions in either directions exists.

Member Enumeration Documentation

template<class T1 , class T2 >
anonymous enum
Enumerator
value 

True if either a conversion from T1 to T2 or vice versa exists.


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