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 
16 namespace msgpack {
17 
21 
22 namespace type {
23 
24 struct nil_t;
25 
26 #if !defined(MSGPACK_DISABLE_LEGACY_NIL)
27 
28 typedef nil_t nil;
29 
30 #endif // !defined(MSGPACK_DISABLE_LEGACY_NIL)
31 
32 bool operator<(nil_t const& lhs, nil_t const& rhs);
33 
34 bool operator==(nil_t const& lhs, nil_t const& rhs);
35 
36 } // namespace type
37 
39 } // MSGPACK_API_VERSION_NAMESPACE(v1)
41 
42 } // namespace msgpack
43 
44 #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:24
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