Dune::Conversion< From, To > Class Template Reference
[Common]
#include <typetraits.hh>
Detailed Description
template<class From, class To>
class Dune::Conversion< From, To >
Checks wether a type is derived from another.
Inspired by this website
Public Types | |
enum | { exists = sizeof(test(makeFrom())) == sizeof(Small), isTwoWay = exists && Conversion<To, exists = sizeof(test(makeFrom())) == sizeof(Small), sameType = false } |
Member Enumeration Documentation
template<class From, class To>
anonymous enum |
The documentation for this class was generated from the following file: