CppWAMP
C++11 client library for the WAMP protocol
boostoptional.hpp File Reference

Provides facilities allowing Variant to interoperate with boost::optional. More...

#include <boost/optional.hpp>
#include "../api.hpp"
#include "../variant.hpp"

Go to the source code of this file.

Namespaces

 wamp
 

Functions

template<typename T >
void wamp::convert (FromVariantConverter &conv, boost::optional< T > &opt)
 Performs the conversion from a variant to a boost::optional. More...
 
template<typename T >
void wamp::convert (ToVariantConverter &conv, boost::optional< T > &opt)
 Performs the conversion from a boost::optional to a variant. More...
 
template<typename T >
bool wamp::operator== (const Variant &v, const boost::optional< T > o)
 Compares a variant and a boost::optional for equality.
 
template<typename T >
bool wamp::operator== (const boost::optional< T > o, const Variant &v)
 Compares a variant and a boost::optional for equality.
 
template<typename T >
bool wamp::operator!= (const Variant &v, const boost::optional< T > o)
 Compares a variant and a boost::optional for inequality.
 
template<typename T >
bool wamp::operator!= (const boost::optional< T > o, const Variant &v)
 Compares a variant and a boost::optional for inequality.
 

Detailed Description

Provides facilities allowing Variant to interoperate with boost::optional.