dune-common 3.0-git
|
Checks whether a type is convertible to another. More...
#include <dune/common/typetraits.hh>
Public Types | |
enum | { exists = std::is_convertible<From,To>::value , isTwoWay = std::is_convertible<From,To>::value && std::is_convertible<To,From>::value , sameType = std::is_same<From,To>::value } |
Checks whether a type is convertible to another.
From | type you want to convert |
To | type you want to obtain |
anonymous enum |