Dune Core Modules (2.6.0)

Dune::IsInteroperable< T1, T2 > Struct Template Reference

Checks whether two types are interoperable. More...

#include <dune/common/typetraits.hh>

Public Types

enum  { value = std::is_convertible<T1,T2>::value || std::is_convertible<T2,T1>::value }

Detailed Description

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

Checks whether two types are interoperable.

Two types are interoperable if conversions in either directions exists.

Member Enumeration Documentation

◆ anonymous enum

template<class T1 , class T2 >
anonymous enum

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

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 19, 22:31, 2024)