Infinite Loop when calling a mock function that takes boost::filesystem::path as parameter #521: Add is_same type trait
This commit is contained in:
parent
4bab34d208
commit
484ec91c22
@ -2241,6 +2241,12 @@ template <bool bool_value> const bool bool_constant<bool_value>::value;
|
||||
typedef bool_constant<false> false_type;
|
||||
typedef bool_constant<true> true_type;
|
||||
|
||||
template <typename T, typename U>
|
||||
struct is_same : public false_type {};
|
||||
|
||||
template <typename T>
|
||||
struct is_same<T, T> : public true_type {};
|
||||
|
||||
template <typename T>
|
||||
struct is_pointer : public false_type {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user