CASM  1.1.0
A Clusters Approach to Statistical Mechanics
optional.hh File Reference

Go to the source code of this file.

Classes

struct  CASM::jsonConstructor< std::optional< T > >
 Helper struct for constructing std::optional<T> objects. More...
 

Namespaces

 CASM
 Main CASM namespace.
 

Functions

template<typename T , typename... Args>
jsonParser & CASM::to_json (std::optional< T > const &value, jsonParser &json)
 
template<typename T , typename... Args>
void CASM::from_json (std::optional< T > &value, jsonParser const &json, Args &&... args)