userver: userver/formats/parse/boost_optional.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
boost_optional.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

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>

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 > >)