Optional.h File Reference
#include <exception>
#include <ostream>
#include <type_traits>
#include <utility>
Include dependency graph for Optional.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BadOptionalAccess
 std::bad_optional_access replacement (until we upgrade to C++17) More...
 
class  Optional< Value >
 (limited) std::optional replacement (until we upgrade to C++17) More...
 

Functions

template<typename Value >
std::ostream & operator<< (std::ostream &os, const Optional< Value > &opt)
 

Function Documentation

◆ operator<<()

template<typename Value >
std::ostream & operator<< ( std::ostream &  os,
const Optional< Value > &  opt 
)
inline

Definition at line 127 of file Optional.h.

References Optional< Value >::has_value(), and Optional< Value >::value().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors