|
dune-common
2.5.0
|
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 |
1.8.12