MessagePack for C++
nil_decl.hpp
Go to the documentation of this file.
1 //
2 // MessagePack for C++ static resolution routine
3 //
4 // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 //
6 // Distributed under the Boost Software License, Version 1.0.
7 // (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9 //
10 #ifndef MSGPACK_V1_TYPE_NIL_DECL_HPP
11 #define MSGPACK_V1_TYPE_NIL_DECL_HPP
12 
13 #include "msgpack/versioning.hpp"
15 #include "msgpack/object.hpp"
16 
17 namespace msgpack {
18 
22 
23 namespace type {
24 
25 struct nil_t;
26 
27 #if !defined(MSGPACK_DISABLE_LEGACY_NIL)
28 
29 typedef nil_t nil;
30 
31 #endif // !defined(MSGPACK_DISABLE_LEGACY_NIL)
32 
33 bool operator<(nil_t const& lhs, nil_t const& rhs);
34 
35 bool operator==(nil_t const& lhs, nil_t const& rhs);
36 
37 } // namespace type
38 
40 } // MSGPACK_API_VERSION_NAMESPACE(v1)
42 
43 } // namespace msgpack
44 
45 #endif // MSGPACK_V1_TYPE_NIL_DECL_HPP
bool operator<(basic_variant< STR, BIN, EXT > const &lhs, basic_variant< STR, BIN, EXT > const &rhs)
Definition: msgpack_variant.hpp:258
nil_t nil
Definition: nil_decl.hpp:25
bool operator==(basic_variant< STR, BIN, EXT > const &lhs, basic_variant< STR, BIN, EXT > const &rhs)
Definition: msgpack_variant.hpp:265
Definition: adaptor_base.hpp:15
Definition: nil.hpp:23
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66