ManaPlus
Static Public Member Functions
doctest::detail::StringStreamBase< C > Struct Template Reference

#include <doctest.h>

Static Public Member Functions

template<typename T >
static void convert (std::ostream *s, const T &in)
 
static void convert (std::ostream *s, const char *in)
 

Detailed Description

template<bool C>
struct doctest::detail::StringStreamBase< C >

Definition at line 1478 of file doctest.h.

Member Function Documentation

◆ convert() [1/2]

template<bool C>
static void doctest::detail::StringStreamBase< C >::convert ( std::ostream *  s,
const char *  in 
)
inlinestatic

Definition at line 1487 of file doctest.h.

1487 { writeStringToStream(s, String(in)); }
void writeStringToStream(std::ostream *s, const String &str)

References doctest::detail::writeStringToStream().

◆ convert() [2/2]

template<bool C>
template<typename T >
static void doctest::detail::StringStreamBase< C >::convert ( std::ostream *  s,
const T &  in 
)
inlinestatic

Definition at line 1481 of file doctest.h.

1481  {
1482  writeStringToStream(s, toString(in));
1483  }
String toString(const T &value)
Definition: doctest.h:883

References doctest::toString(), and doctest::detail::writeStringToStream().


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