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)) {}
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 main Proton namespace.
Definition: annotation_key.hpp:33
friend bool operator==(const null &, const null &)
null instances are always equal
Definition: null.hpp:47
friend bool operator<(const null &, const null &)
null instances are never unequal
Definition: null.hpp:49
The type of the AMQP null value.
Definition: null.hpp:39