Searched refs:true_type (Results 1 - 12 of 12) sorted by relevance

/gem5/ext/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h190 : public true_type {}; // NOLINT
195 : public true_type {}; // NOLINT
200 : public true_type {}; // NOLINT
341 template <typename T> struct is_reference<T&> : public true_type {};
345 template <typename T> struct type_equals<T, T> : public true_type {};
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-message.h206 inline void StreamHelper(internal::true_type /*is_pointer*/, T* pointer) {
H A Dgtest-printers.h405 true_type /* is a pointer */,
/gem5/ext/pybind11/include/pybind11/
H A Dstl_bind.h23 template <typename T2> static std::true_type test_comparable(decltype(std::declval<const T2 &>() == std::declval<const T2 &>())*);
25 template <typename T2> static std::true_type test_value(typename T2::value_type *);
27 template <typename T2> static std::true_type test_pair(typename T2::first_type *, typename T2::second_type *);
30 static constexpr const bool is_comparable = std::is_same<std::true_type, decltype(test_comparable<T>(nullptr))>::value;
31 static constexpr const bool is_pair = std::is_same<std::true_type, decltype(test_pair<T>(nullptr, nullptr))>::value;
32 static constexpr const bool is_vector = std::is_same<std::true_type, decltype(test_value<T>(nullptr))>::value;
45 : std::true_type { };
369 struct vector_has_data_and_format<Vector, enable_if_t<std::is_same<decltype(format_descriptor<typename Vector::value_type>::format(), std::declval<Vector>().data()), typename Vector::value_type*>::value>> : std::true_type {};
H A Dcast.h1555 std::true_type {};
1602 >::value>> : std::true_type {};
1609 >::value>> : std::true_type {};
H A Dpybind11.h994 : std::true_type { };
997 : std::true_type { };
1314 const holder_type *holder_ptr, std::true_type /*is_copy_constructible*/) {
H A Dnumpy.h274 template <typename T, size_t N> struct is_std_array<std::array<T, N>> : std::true_type { };
276 template <typename T> struct is_complex<std::complex<T>> : std::true_type { };
/gem5/ext/pybind11/include/pybind11/detail/
H A Dcommon.h589 template <typename... Us> static std::true_type check(Base<Us...> *);
607 struct is_instantiation<Class, Class<Us...>> : std::true_type { };
616 : std::true_type {};
737 constexpr auto operator()(Return (Class::*pmf)(Args...) const, std::true_type) const noexcept
756 static constexpr auto const_ = std::true_type{};
H A Dinit.h71 void construct_alias_from_cpp(std::true_type /*is_alias_constructible*/,
/gem5/ext/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc510 TEST(TypeTraitsTest, true_type) {
511 EXPECT_TRUE(true_type::value);
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h2210 typedef bool_constant<true> true_type; typedef in namespace:testing::internal
2216 struct is_pointer<T*> : public true_type {};
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2208 // true_type iff the Field() matcher is used to match a pointer.
2215 bool MatchAndExplainImpl(true_type /* is_pointer */, const Class* p,
2269 // true_type iff the Property() matcher is used to match a pointer.
2286 bool MatchAndExplainImpl(true_type /* is_pointer */, const Class* p,

Completed in 76 milliseconds