Dune::Conversion< From, To > Struct Template Reference
[Common]

Checks whether a type is convertible to another. More...

#include <dune/common/typetraits.hh>

List of all members.

Public Types

enum  {
  exists = std::is_convertible<From, value, isTwoWay = std::is_convertible<From, To,
  value, sameType = std::is_same<From, value
}

Detailed Description

template<class From, class To>
struct Dune::Conversion< From, To >

Checks whether a type is convertible to another.

Template Parameters:
From type you want to convert
To type you want to obtain

Member Enumeration Documentation

template<class From , class To >
anonymous enum
Enumerator:
exists 

True if the conversion exists.

value 
isTwoWay 

Whether the conversion exists in both ways.

To 
value 
sameType 

True if To and From are the same type.

value 

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1