KiCad PCB EDA Suite
BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< std::vector< T > > Struct Template Reference

Boost print helper for generic vectors. More...

#include <unit_test_utils.h>

Public Member Functions

void operator() (std::ostream &os, std::vector< T > const &aVec)
 

Detailed Description

template<typename T>
struct BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< std::vector< T > >

Boost print helper for generic vectors.

Definition at line 143 of file unit_test_utils.h.

Member Function Documentation

◆ operator()()

template<typename T >
void BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< std::vector< T > >::operator() ( std::ostream &  os,
std::vector< T > const &  aVec 
)
inline

Definition at line 145 of file unit_test_utils.h.

146  {
147  os << "std::vector size " << aVec.size() << "[";
148 
149  for( const auto& i : aVec )
150  {
151  os << "\n ";
152  print_log_value<T>()( os, i );
153  }
154 
155  os << "]";
156  }

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