|
dune-common
2.2.0
|
Checks wether a type is convertible to another. More...
#include <dune/common/typetraits.hh>
Classes | |
| struct | Big |
Public Types | |
| enum | { exists = sizeof(test(makeFrom())) == sizeof(Small), isTwoWay = exists && Conversion<To,From>::exists, sameType = false } |
Public Member Functions | |
| Conversion () | |
Checks wether a type is convertible to another.
| From | type you want to convert |
| To | type you want to obtain |
Inspired by this website
| anonymous enum |
| Dune::Conversion< From, To >::Conversion | ( | ) | [inline] |
1.7.6.1