Electroneum
Loading...
Searching...
No Matches
testing::internal::UniversalPrinter< T > Class Template Reference

#include <gtest-printers.h>

Static Public Member Functions

static void Print (const T &value, ::std::ostream *os)
static void Print (const T &value, ::std::ostream *os)

Detailed Description

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

Definition at line 689 of file gtest-printers.h.

Member Function Documentation

◆ Print() [1/2]

template<typename T>
void testing::internal::UniversalPrinter< T >::Print ( const T & value,
::std::ostream * os )
inlinestatic

Definition at line 698 of file gtest-printers.h.

698 {
699 // By default, ::testing::internal::PrintTo() is used for printing
700 // the value.
701 //
702 // Thanks to Koenig look-up, if T is a class and has its own
703 // PrintTo() function defined in its namespace, that function will
704 // be visible here. Since it is more specific than the generic ones
705 // in ::testing::internal, it will be picked by the compiler in the
706 // following statement - exactly what we want.
707 PrintTo(value, os);
708 }
void PrintTo(const ReferenceWrapper< T > &ref, ::std::ostream *os)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Print() [2/2]

template<typename T>
void testing::internal::UniversalPrinter< T >::Print ( const T & value,
::std::ostream * os )
inlinestatic

Definition at line 698 of file gtest-printers.h.

698 {
699 // By default, ::testing::internal::PrintTo() is used for printing
700 // the value.
701 //
702 // Thanks to Koenig look-up, if T is a class and has its own
703 // PrintTo() function defined in its namespace, that function will
704 // be visible here. Since it is more specific than the generic ones
705 // in ::testing::internal, it will be picked by the compiler in the
706 // following statement - exactly what we want.
707 PrintTo(value, os);
708 }
Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/include/gtest/gtest-printers.h