CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::jsonConstructor< std::optional< T > > Struct Template Reference

#include <optional.hh>

Detailed Description

template<typename T>
struct CASM::jsonConstructor< std::optional< T > >

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

Definition at line 32 of file optional.hh.

Static Public Member Functions

template<typename... Args>
static std::optional< T > from_json (jsonParser const &json, Args &&... args)
 Default from_json is equivalent to. More...
 

Member Function Documentation

◆ from_json()

template<typename T >
template<typename... Args>
static std::optional<T> CASM::jsonConstructor< std::optional< T > >::from_json ( jsonParser const &  json,
Args &&...  args 
)
inlinestatic

Default from_json is equivalent to.

CASM::from_json<ReturnType>(json)

Definition at line 36 of file optional.hh.


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