Home | History | Annotate | Download | only in wtf

Lines Matching refs:emptyValue

83         static T emptyValue() { return T(); }
105 // a way to handle the return value from emptyValue, which is a temporary.
114 static T emptyValue() { return std::numeric_limits<T>::infinity(); }
126 static T emptyValue() { return std::numeric_limits<T>::max(); }
147 static EmptyValueType emptyValue() { return nullptr; }
168 static EmptyValueType emptyValue() { return nullptr; }
201 // which selects either the emptyValue function or the isEmptyValue function to check for empty values.
207 template<typename T> static bool isEmptyValue(const T& value) { return value == Traits::emptyValue(); }
222 static EmptyValueType emptyValue() { return std::make_pair(FirstTraits::emptyValue(), SecondTraits::emptyValue()); }
268 static EmptyValueType emptyValue() { return KeyValuePair<typename KeyTraits::EmptyValueType, typename ValueTraits::EmptyValueType>(KeyTraits::emptyValue(), ValueTraits::emptyValue()); }
295 static T emptyValue() { return reinterpret_cast<T>(1); }