Class template Dune::XT::Common::dependent¶
-
template<typename T>
class Dune::XT::Common::dependent¶ To be used e.g. with AlwaysFalse:
enum class Switch { case_1, case_2, }; template
struct do_something { static_assert(AlwaysFalse<typename dependent ::_typename<important_switch>::type>::value, “Not Implemented for this case!”); }; template <> struct do_somethingSwitch::case_1 { // … };