KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PRINTABLE_OPT< T > Struct Template Reference

#include <unit_test_utils.h>

Public Member Functions

 PRINTABLE_OPT (const std::optional< T > &aOpt)
 
 PRINTABLE_OPT (const T &aVal)
 

Public Attributes

std::optional< T > m_Opt
 

Detailed Description

template<class T>
struct PRINTABLE_OPT< T >

Definition at line 142 of file unit_test_utils.h.

Constructor & Destructor Documentation

◆ PRINTABLE_OPT() [1/2]

template<class T >
PRINTABLE_OPT< T >::PRINTABLE_OPT ( const std::optional< T > &  aOpt)
inline

Definition at line 144 of file unit_test_utils.h.

◆ PRINTABLE_OPT() [2/2]

template<class T >
PRINTABLE_OPT< T >::PRINTABLE_OPT ( const T &  aVal)
inline

Definition at line 145 of file unit_test_utils.h.

Member Data Documentation

◆ m_Opt

template<class T >
std::optional<T> PRINTABLE_OPT< T >::m_Opt

Definition at line 147 of file unit_test_utils.h.

Referenced by operator<<(), and operator==().


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