Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::LazyStat< T > Struct Template Reference

#include <catch_interfaces_reporter.h>

Inheritance diagram for Catch::LazyStat< T >:
Collaboration diagram for Catch::LazyStat< T >:

Public Member Functions

LazyStatoperator= (T const &_value)
 
void reset ()
 
- Public Member Functions inherited from Catch::Option< T >
 Option ()
 
 Option (T const &_value)
 
 Option (Option const &_other)
 
 ~Option ()
 
Optionoperator= (Option const &_other)
 
Optionoperator= (T const &_value)
 
void reset ()
 
Toperator* ()
 
T const & operator* () const
 
Toperator-> ()
 
const Toperator-> () const
 
T valueOr (T const &defaultValue) const
 
bool some () const
 
bool none () const
 
bool operator! () const
 
 operator bool () const
 

Public Attributes

bool used = false
 

Detailed Description

template<typename T>
struct Catch::LazyStat< T >

Definition at line 49 of file catch_interfaces_reporter.h.

Member Function Documentation

◆ operator=()

template<typename T >
LazyStat & Catch::LazyStat< T >::operator= ( T const & _value)
inline

Definition at line 50 of file catch_interfaces_reporter.h.

50 {
51 Option<T>::operator=( _value );
52 used = false;
53 return *this;
54 }
Option & operator=(Option const &_other)
Here is the call graph for this function:

◆ reset()

template<typename T >
void Catch::LazyStat< T >::reset ( )
inline

Definition at line 55 of file catch_interfaces_reporter.h.

55 {
57 used = false;
58 }
Here is the call graph for this function:

Member Data Documentation

◆ used

template<typename T >
bool Catch::LazyStat< T >::used = false

Definition at line 59 of file catch_interfaces_reporter.h.


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