Qpid Proton C++ API
0.33.0
|
|
Go to the documentation of this file. 1 #ifndef PROTON_NULL_HPP
2 #define PROTON_NULL_HPP
28 #include "./internal/config.hpp"
29 #include "./internal/comparable.hpp"
30 #include "./internal/export.hpp"
39 class null :
private internal::comparable<null> {
42 #if PN_CPP_HAS_NULLPTR
43 null(decltype(
nullptr)) {}
46 friend bool operator==(
const null&,
const null&) {
return true; }
49 friend bool operator<(
const null&,
const null&) {
return false; }
53 PN_CPP_EXTERN std::ostream&
operator<<(std::ostream&,
const null&);
57 #endif // PROTON_NULL_HPP
std::ostream & operator<<(std::ostream &, const binary &)
Print a binary value.
The type of the AMQP null value.
Definition: null.hpp:39
friend bool operator<(const null &, const null &)
null instances are never unequal
Definition: null.hpp:49
The main Proton namespace.
Definition: annotation_key.hpp:33
friend bool operator==(const null &, const null &)
null instances are always equal
Definition: null.hpp:47