OTest2
A C++ testing framework
|
Go to the documentation of this file.
19 #ifndef OTest2__INCLUDE_OTEST2_TYPETRAITS_H_
20 #define OTest2__INCLUDE_OTEST2_TYPETRAITS_H_
23 #include <type_traits>
30 template<
typename Type_>
34 template<
typename Type_>
44 template<
typename Type_>
56 template<
typename Type_>
60 template<std::
size_t len_>
64 template<std::
size_t len_>
80 template<
typename Type_>
83 typename std::remove_const<
const typedef char * Type
Private::SelectArgType< Type_, std::is_scalar< Type_ >::value >::Value BestArg
Generic type trait used by the framework.
const typedef char * Type
const typedef Type_ & Value
NormalizeStringType< typename std::remove_const< typename std::remove_reference< Type_ >::type >::type >::Type Type
A trait which is used to normalize types of string literals and C-strings.
const typedef char * Type
A helper trait - get normalized type of a captured assertion parameter.
const typedef char * Type