Go to the documentation of this file.
33 #ifndef DART_COMMON_DETAIL_TEMPLATEJOINERDISPATCHMACRO_HPP_
34 #define DART_COMMON_DETAIL_TEMPLATEJOINERDISPATCHMACRO_HPP_
42 #define DETAIL_DART_COMMON_IRREGULAR_TEMPLATEJOINERDISPATCH_IMPL( \
43 ReturnType, ClassName, Function, Suffix, SpecializationChecker, Args) \
44 template <class Base1, class Base2> \
46 ReturnType ClassName<Base1, Base2>::Function Suffix \
48 if (Base1::template SpecializationChecker<T>()) \
49 return Base1::template Function<T> Args; \
51 return Base2::template Function<T> Args; \
54 #define DETAIL_DART_COMMON_TEMPLATEJOINERDISPATCH_IMPL( \
55 ReturnType, ClassName, Function, Suffix, Args) \
56 DETAIL_DART_COMMON_IRREGULAR_TEMPLATEJOINERDISPATCH_IMPL( \
57 ReturnType, ClassName, Function, Suffix, isSpecializedFor, Args)