Celeritas  0.5.0-86+4a8eea4
Classes | Functions
StreamableVariant.hh File Reference
#include <ostream>
#include <sstream>
#include <utility>
#include <variant>
#include "corecel/Assert.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::StreamableVariant< T >
 Helper class to print a variant to a stream. More...
 
struct  celeritas::detail::GenericToStream
 

Functions

template<class T >
 celeritas::StreamableVariant (T &&) -> StreamableVariant< T >
 
template<class T >
std::ostream & celeritas::operator<< (std::ostream &os, StreamableVariant< T > const &svar)
 Write a variant object's value to a stream.
 
template<class T >
std::string celeritas::to_string (StreamableVariant< T > const &svar)
 Save a variant object's value to a string.