Celeritas 0.7.0-dev.555+develop.5c5a8f0a7
Loading...
Searching...
No Matches
Public Attributes | Friends | List of all members
celeritas::StreamableVariant< T > Struct Template Reference

Helper class to print a variant to a stream. More...

#include <StreamableVariant.hh>

Public Attributes

T value
 

Friends

std::ostream & operator<< (std::ostream &os, StreamableVariant const &svar)
 Write to stream.
 
std::string to_string (StreamableVariant const &svar)
 Save as a string.
 

Detailed Description

template<class T>
struct celeritas::StreamableVariant< T >

Helper class to print a variant to a stream.

Example:

std::cout << StreamableVariant{surface} << std::endl;
Helper class to print a variant to a stream.
Definition StreamableVariant.hh:29

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