userver: userver/formats/parse/boost_optional.hpp File Reference
Loading...
Searching...
No Matches
boost_optional.hpp File Reference

Detailed Description

Parsers and converters for boost::optional.

Definition in file boost_optional.hpp.

Go to the source code of this file.

#include <userver/formats/parse/to.hpp>
#include <boost/optional.hpp>
+ Include dependency graph for boost_optional.hpp:

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::parse
 Generic parsers and converters.
 

Functions

template<class Value , typename T >
boost::optional< T > formats::parse::Parse (const Value &value, To< boost::optional< T > >)
 
template<class Value >
boost::optional< std::nullptr_t > formats::parse::Parse (const Value &, To< boost::optional< std::nullptr_t > >)
 
template<class Value , typename T >
boost::optional< T > formats::parse::Convert (const Value &value, To< boost::optional< T > >)
 
template<class Value >
boost::optional< std::nullptr_t > formats::parse::Convert (const Value &, To< boost::optional< std::nullptr_t > >)