Wire Sysio Wire Sysion 1.0.0
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)
 

Detailed Description

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

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

Member Function Documentation

◆ Print()

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

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

757 {
758 // By default, ::testing::internal::PrintTo() is used for printing
759 // the value.
760 //
761 // Thanks to Koenig look-up, if T is a class and has its own
762 // PrintTo() function defined in its namespace, that function will
763 // be visible here. Since it is more specific than the generic ones
764 // in ::testing::internal, it will be picked by the compiler in the
765 // following statement - exactly what we want.
766 PrintTo(value, os);
767 }
os_t os
void PrintTo(const ReferenceWrapper< T > &ref, ::std::ostream *os)
#define value
Definition pkcs11.h:157
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: