Version: SMASH-3.1
einhard::DummyOutputFormatter Struct Reference

#include <einhard.hpp>

A minimal class that implements the output stream operator to do nothing.

This completely eliminates the output stream statements from the resulting binary.

Definition at line 203 of file einhard.hpp.

Public Member Functions

template<typename T >
EINHARD_ALWAYS_INLINE_ DummyOutputFormatteroperator<< (const T &) noexcept
 
EINHARD_ALWAYS_INLINE_ DummyOutputFormatteroperator<< (std::ostream &(*)(std::ostream &)) noexcept
 

Member Function Documentation

◆ operator<<() [1/2]

template<typename T >
EINHARD_ALWAYS_INLINE_ DummyOutputFormatter& einhard::DummyOutputFormatter::operator<< ( const T &  )
inlinenoexcept

Definition at line 205 of file einhard.hpp.

206  {
207  return *this;
208  }

◆ operator<<() [2/2]

EINHARD_ALWAYS_INLINE_ DummyOutputFormatter& einhard::DummyOutputFormatter::operator<< ( std::ostream &  *)(std::ostream &)
inlinenoexcept

Definition at line 209 of file einhard.hpp.

211  {
212  return *this;
213  }

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