7 #if !defined(CNL_IMPL_WRAPPER_CAN_CONVERT_TAG_FAMILY_H)
8 #define CNL_IMPL_WRAPPER_CAN_CONVERT_TAG_FAMILY_H
10 #include "../custom_operator/is_same_tag_family.h"
12 #include <type_traits>
17 template<tag ToTag, tag FromTag>
18 struct can_convert_tag_family
20 bool, is_same_tag_family<ToTag, FromTag>::value
21 || std::is_base_of<ToTag, FromTag>::value
22 || std::is_base_of<FromTag, ToTag>::value> {
27 #endif // CNL_IMPL_WRAPPER_CAN_CONVERT_TAG_FAMILY_H