Static Public Attributes | Private Types | Static Private Member Functions | List of all members
testing::internal::HasDebugStringAndShortDebugString< T > Class Template Reference

#include <gtest-internal.h>

Static Public Attributes

static constexpr bool value
 

Private Types

using HasDebugStringType = decltype(CheckDebugString< T >(nullptr))
 
using HasDebugStringType = decltype(CheckDebugString< T >(nullptr))
 
using HasShortDebugStringType = decltype(CheckShortDebugString< T >(nullptr))
 
using HasShortDebugStringType = decltype(CheckShortDebugString< T >(nullptr))
 

Static Private Member Functions

template<typename >
static std::false_type CheckDebugString (...)
 
template<typename >
static constexpr std::false_type CheckDebugString (...)
 
template<typename C >
static auto CheckDebugString (C *) -> typename std::is_same< std::string, decltype(std::declval< const C >().DebugString())>::type
 
template<typename C >
static constexpr auto CheckDebugString (C *) -> typename std::is_same< std::string, decltype(std::declval< const C >().DebugString())>::type
 
template<typename >
static std::false_type CheckShortDebugString (...)
 
template<typename >
static constexpr std::false_type CheckShortDebugString (...)
 
template<typename C >
static auto CheckShortDebugString (C *) -> typename std::is_same< std::string, decltype(std::declval< const C >().ShortDebugString())>::type
 
template<typename C >
static constexpr auto CheckShortDebugString (C *) -> typename std::is_same< std::string, decltype(std::declval< const C >().ShortDebugString())>::type
 

Detailed Description

template<typename T>
class testing::internal::HasDebugStringAndShortDebugString< T >

Definition at line 899 of file boringssl-with-bazel/src/third_party/googletest/include/gtest/internal/gtest-internal.h.

Member Typedef Documentation

◆ HasDebugStringType [1/2]

template<typename T >
using testing::internal::HasDebugStringAndShortDebugString< T >::HasDebugStringType = decltype(CheckDebugString<T>(nullptr))
private

◆ HasDebugStringType [2/2]

template<typename T >
using testing::internal::HasDebugStringAndShortDebugString< T >::HasDebugStringType = decltype(CheckDebugString<T>(nullptr))
private

◆ HasShortDebugStringType [1/2]

template<typename T >
using testing::internal::HasDebugStringAndShortDebugString< T >::HasShortDebugStringType = decltype(CheckShortDebugString<T>(nullptr))
private

◆ HasShortDebugStringType [2/2]

template<typename T >
using testing::internal::HasDebugStringAndShortDebugString< T >::HasShortDebugStringType = decltype(CheckShortDebugString<T>(nullptr))
private

Member Function Documentation

◆ CheckDebugString() [1/4]

template<typename T >
template<typename >
static std::false_type testing::internal::HasDebugStringAndShortDebugString< T >::CheckDebugString (   ...)
staticprivate

◆ CheckDebugString() [2/4]

template<typename T >
template<typename >
static constexpr std::false_type testing::internal::HasDebugStringAndShortDebugString< T >::CheckDebugString (   ...)
staticconstexprprivate

◆ CheckDebugString() [3/4]

template<typename T >
template<typename C >
static auto testing::internal::HasDebugStringAndShortDebugString< T >::CheckDebugString ( C *  ) -> typename std::is_same< std::string, decltype(std::declval< const C >().DebugString())>::type
staticprivate

◆ CheckDebugString() [4/4]

template<typename T >
template<typename C >
static constexpr auto testing::internal::HasDebugStringAndShortDebugString< T >::CheckDebugString ( C *  ) -> typename std::is_same< std::string, decltype(std::declval< const C >().DebugString())>::type
staticconstexprprivate

◆ CheckShortDebugString() [1/4]

template<typename T >
template<typename >
static std::false_type testing::internal::HasDebugStringAndShortDebugString< T >::CheckShortDebugString (   ...)
staticprivate

◆ CheckShortDebugString() [2/4]

template<typename T >
template<typename >
static constexpr std::false_type testing::internal::HasDebugStringAndShortDebugString< T >::CheckShortDebugString (   ...)
staticconstexprprivate

◆ CheckShortDebugString() [3/4]

template<typename T >
template<typename C >
static auto testing::internal::HasDebugStringAndShortDebugString< T >::CheckShortDebugString ( C *  ) -> typename std::is_same< std::string, decltype(std::declval< const C >().ShortDebugString())>::type
staticprivate

◆ CheckShortDebugString() [4/4]

template<typename T >
template<typename C >
static constexpr auto testing::internal::HasDebugStringAndShortDebugString< T >::CheckShortDebugString ( C *  ) -> typename std::is_same< std::string, decltype(std::declval< const C >().ShortDebugString())>::type
staticconstexprprivate

Member Data Documentation

◆ value

template<typename T >
constexpr bool testing::internal::HasDebugStringAndShortDebugString< T >::value
staticconstexpr

The documentation for this class was generated from the following file:
value
const char * value
Definition: hpack_parser_table.cc:165


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:04:11