CppWAMP
C++11 client library for the WAMP protocol
|
Type used to represent a null or empty Variant value. More...
#include <cppwamp/null.hpp>
Public Member Functions | |
constexpr | Null ()=default |
Default constructor for instantiating constexpr object. | |
bool | operator== (Null) const |
Compares two Null objects for equality. More... | |
bool | operator!= (Null) const |
Compares two Null objects for inequality. More... | |
bool | operator< (Null) const |
Performs less-than comparison on two Null objects. More... | |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &out, Null) |
Type used to represent a null or empty Variant value.
The wamp::null
constant should be used to nullify a Variant
, and for checking if a Variant
is empty:
|
inline |
Compares two Null
objects for equality.
true
.
|
inline |
Compares two Null
objects for inequality.
false
.
|
inline |
Performs less-than comparison on two Null
objects.
false
.
|
related |
Outputs a Null
object to the given output stream. The string "null"
(without the quotes) will be outputted.