LSLOpt  1.0
Public Member Functions | Public Attributes | List of all members
LSLOpt::NoOutput Struct Reference

NoOutput struct. More...

#include <OutputUtils.hpp>

Public Member Functions

template<typename T >
NoOutputoperator<< (const T &t)
 Output operator. More...
 

Public Attributes

const OutputLevel output_level = OutputLevel::Nothing
 The current output level. Set to Nothing.
 

Detailed Description

NoOutput struct.

If this is used as output function, nothing is ever shown.

Member Function Documentation

◆ operator<<()

template<typename T >
NoOutput& LSLOpt::NoOutput::operator<< ( const T &  t)
inline

Output operator.

Parameters
tVariable to output.
Returns
This object.

The output variable can be of any type (except void) as it is not used anyway.


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