28 #ifndef INCLUDED_HasType_h_GUID_C99B75F2_4F44_49BD_6152_3CF9B0B80DAB 29 #define INCLUDED_HasType_h_GUID_C99B75F2_4F44_49BD_6152_3CF9B0B80DAB 38 #include <type_traits> 44 template <
typename,
typename =
void>
struct has_type_ {
45 using type = std::false_type;
48 template <
typename T>
struct has_type_<
T,
void_<typename
T::type>> {
49 using type = std::true_type;
61 #endif // INCLUDED_HasType_h_GUID_C99B75F2_4F44_49BD_6152_3CF9B0B80DAB The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
apply< always< void >, Ts... > void_
An alias for void.
Definition: Void.h:45
Definition: newuoa.h:1888
t_< detail::has_type_< T >> has_type
An alias for std::true_type if T::type exists and names a type; otherwise, it's an alias for std::fal...
Definition: HasType.h:57
A small structure to hold a non zero as a triplet (i,j,value).
Definition: SparseUtil.h:148
typename T::type t_
A convenience alias template to extract the nested type within the supplied T.
Definition: T.h:52