A holder for an instance of any scalar AMQP type. More...
#include "./scalar_base.hpp"
#include "proton/null.hpp"
#include <proton/type_compat.h>
Go to the source code of this file.
Classes | |
class | scalar |
A holder for an instance of any scalar AMQP type. More... | |
Namespaces | |
namespace | proton |
The main Proton namespace. | |
Functions | |
template<class T > | |
T | get (const scalar &s) |
Get a contained value of type T. | |
template<class T > | |
T | coerce (const scalar &x) |
Coerce the contained value to type T. | |
template<class T > | |
T | coerce (scalar &x) |
Coerce the contained value to type T. |
A holder for an instance of any scalar AMQP type.