1 #ifndef PROTON_NULL_HPP
2 #define PROTON_NULL_HPP
28 #include "./internal/comparable.hpp"
29 #include "./internal/export.hpp"
38 class null :
private internal::comparable<null> {
42 null(decltype(
nullptr)) {}
45 friend bool operator==(
const null&,
const null&) {
return true; }
47 friend bool operator<(
const null&,
const null&) {
return false; }
51 PN_CPP_EXTERN std::ostream&
operator<<(std::ostream&,
const null&);
The type of the AMQP null value.
Definition: null.hpp:38
friend bool operator==(const null &, const null &)
null instances are always equal
Definition: null.hpp:45
friend bool operator<(const null &, const null &)
null instances are never unequal
Definition: null.hpp:47
The main Proton namespace.
Definition: annotation_key.hpp:33
std::ostream & operator<<(std::ostream &, const binary &)
Print a binary value.