Home | History | Annotate | Download | only in detail

Lines Matching defs:value

30     // SupportsInsertionOperator<T, TStream>::value will evaluate to a boolean,
31 // whose value is true if the TStream class supports the << operator against T,
37 static std::true_type InsertionOperatorTest(TStream& os, const T& value,
38 std::remove_reference<decltype(os << value)>* = 0); // NOLINT [whitespace/operators] [3]
44 static constexpr bool value =
45 decltype(InsertionOperatorTest(FakeReference<TStream2>(), std::declval<T2>()))::value;
62 static constexpr bool value =
63 decltype(EqualityOperatorTest(std::declval<TLeft>(), std::declval<TRight>()))::value;
72 static constexpr bool value = true;
75 // SupportsEqualityOperatorImpl<T1, T2>::value will evaluate to a boolean,
76 // whose value is true if T1 can be compared against T2 with ==,
81 std::is_floating_point<TLeft>::value
82 && std::is_floating_point<TRight>::value> {
87 // an arbitrary value.
91 std::string ToStringAny(const T& value,
93 SupportsInsertionOperator<T>::value>::type* = 0) {
95 stream << value;
100 std::string ToStringAny(const std::vector<T> value,
102 SupportsInsertionOperator<T>::value>::type* = 0) {
106 for (size_t i = 0; i < value.size(); ++i) {
107 stream << ToStringAny(value[i]);
109 if (i != value.size() - 1) {
121 !SupportsInsertionOperator<T>::value>::type* = 0