cppqed-multidiagonal 0.4.0
Multidiagonal sparse operator algebra for C++QED
Loading...
Searching...
No Matches
boost::json Namespace Reference

Functions

template<class T >
void tag_invoke (value_from_tag, value &jv, const std::complex< T > &c)
 Boost.JSON serialization for std::complex<T>: emits a two-element JSON array [re, im].
 
template<class T >
std::complex< T > tag_invoke (value_to_tag< std::complex< T > >, const value &jv)
 Boost.JSON deserialization for std::complex<T>: reads from a two-element JSON array [re, im].
 

Function Documentation

◆ tag_invoke() [1/2]

template<class T >
void boost::json::tag_invoke ( value_from_tag  ,
value &  jv,
const std::complex< T > &  c 
)

Boost.JSON serialization for std::complex<T>: emits a two-element JSON array [re, im].

◆ tag_invoke() [2/2]

template<class T >
std::complex< T > boost::json::tag_invoke ( value_to_tag< std::complex< T > >  ,
const value &  jv 
)

Boost.JSON deserialization for std::complex<T>: reads from a two-element JSON array [re, im].