Lines Matching defs:std
69 GTEST_API_ std::string JoinAsKeyValueTuple(
70 const std::vector<const char*>& names, const Strings& values);
76 GTEST_API_ std::string ConvertIdentifierNameToWords(const char* id_name);
85 // This overload version is for std::reference_wrapper, which does not work with
88 inline const Element* GetRawPointer(const std::reference_wrapper<Element>& r) {
187 using LosslessArithmeticConvertibleImpl = std::integral_constant<
199 !(std::is_signed<From>::value && !std::is_signed<To>::value)) ||
203 (std::is_signed<From>::value == std::is_signed<To>::value)))
235 const std::string& message) = 0;
247 const std::string& msg) {
260 const std::string& msg) {
293 GTEST_API_ void Log(LogSeverity severity, const std::string& message,
351 static_assert(!std::is_const<RawContainer>::value,
362 typedef typename std::remove_const<Element>::type RawElement;
372 static_assert(std::is_same<Element, RawElement>::value,
384 class StlContainerView< ::std::tuple<ElementPointer, Size> > {
386 typedef typename std::remove_const<
387 typename std::pointer_traits<ElementPointer>::element_type>::type
393 const ::std::tuple<ElementPointer, Size>& array) {
394 return type(std::get<0>(array), std::get<1>(array),
397 static type Copy(const ::std::tuple<ElementPointer, Size>& array) {
398 return type(std::get<0>(array), std::get<1>(array), RelationToSourceCopy());
415 // Partially specialized to remove constness from std::pair<const K, V>.
417 struct RemoveConstFromKey<std::pair<const K, V> > {
418 typedef std::pair<K, V> type;
427 -> decltype(std::forward<F>(f)(
428 std::get<Idx>(std::forward<Tuple>(args))...)) {
429 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
435 std::forward<F>(f), std::forward<Tuple>(args),
436 MakeIndexSequence<std::tuple_size<
437 typename std::remove_reference<Tuple>::type>::value>())) {
438 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
439 MakeIndexSequence<std::tuple_size<
440 typename std::remove_reference<Tuple>::type>::value>());
465 using ArgumentTuple = std::tuple<Args...>;
466 using ArgumentMatcherTuple = std::tuple<Matcher<Args>...>;
474 // Workaround for MSVC error C2039: 'type': is not a member of 'std'
475 // when std::tuple_element is used.
477 // Can be replaced with std::tuple_element_t in C++14.
479 using TupleElement = typename std::tuple_element<I, T>::type;
481 bool Base64Unescape(const std::string& encoded, std::string* decoded);