19 #ifndef INCLUDED_Contains_h_GUID_39658344_E4B2_4196_15DF_546AE1F0DF0B 20 #define INCLUDED_Contains_h_GUID_39658344_E4B2_4196_15DF_546AE1F0DF0B 26 #include "Transform.h" 32 #include <type_traits> 39 template <
typename T>
struct is_ {
40 template <
typename Elt>
using apply = std::is_same<T, Elt>;
47 template <
typename Haystack,
typename Needle>
53 #endif // INCLUDED_Contains_h_GUID_39658344_E4B2_4196_15DF_546AE1F0DF0B apply_list< quote< or_ >, transform< Haystack, detail::is_< Needle >>> contains
Determines if type Needle is in the list Haystack - is an alias for a type that inherits std::true_ty...
Definition: Contains.h:49
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Bind the first argument of std::is_same.
Definition: Contains.h:39
Definition: newuoa.h:1888
t_< detail::transform_< List, Fun >> transform
Given a list and an alias class, apply the alias class to each element in the list and return the res...
Definition: Transform.h:54
apply< detail::apply_list_< F, Args >> apply_list
Apply an alias class, exploding the list of args.
Definition: ApplyList.h:56