LocalGuidance
A library that generates velocity references to follow a path.
has_type.hpp File Reference
#include <type_traits>
Include dependency graph for has_type.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 std_utils
 

Macros

#define STD_UTILS_HAS_TYPE(name)
 

Macro Definition Documentation

#define STD_UTILS_HAS_TYPE (   name)
Value:
template< typename T, typename = void > \
struct has_##name { \
using type = std::false_type; \
}; \
template< typename C > \
struct has_##name<C, typename std_utils::internal::to_void<typename C::name>::type> { \
using type = std::true_type; \
}; \
\
template< typename C> \
using has_##name##_t = typename has_##name<C>::type