Xmipp  v3.23.11-Nereus
Static Public Member Functions | List of all members
testing::internal::UniversalPrinter< T > Class Template Reference

#include <gtest-printers.h>

Inheritance diagram for testing::internal::UniversalPrinter< T >:
Inheritance graph
[legend]

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 426 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 769 of file gtest-printers.h.

769  {
770  // By default, ::testing::internal::PrintTo() is used for printing
771  // the value.
772  //
773  // Thanks to Koenig look-up, if T is a class and has its own
774  // PrintTo() function defined in its namespace, that function will
775  // be visible here. Since it is more specific than the generic ones
776  // in ::testing::internal, it will be picked by the compiler in the
777  // following statement - exactly what we want.
778  PrintTo(value, os);
779  }
void PrintTo(const T &value, ::std::ostream *os)

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