Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
doctest::detail::filldata< T[N]> Struct Template Reference

#include <doctest.h>

Static Public Member Functions

static void fill (std::ostream *stream, const T(&in)[N])
 

Detailed Description

template<typename T, size_t N>
struct doctest::detail::filldata< T[N]>

Definition at line 1164 of file doctest.h.

Member Function Documentation

◆ fill()

template<typename T , size_t N>
static void doctest::detail::filldata< T[N]>::fill ( std::ostream * stream,
const T(&) in[N] )
inlinestatic

Definition at line 1165 of file doctest.h.

1165 {
1166 *stream << "[";
1167 for (size_t i = 0; i < N; i++) {
1168 if (i != 0) { *stream << ", "; }
1169 *stream << (DOCTEST_STRINGIFY(in[i]));
1170 }
1171 *stream << "]";
1172 }
#define DOCTEST_STRINGIFY(...)
Definition doctest.h:1089

References DOCTEST_STRINGIFY.


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