MessagePack for C++
Loading...
Searching...
No Matches
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
15#include "msgpack/object.hpp"
16
17namespace msgpack {
18
22
23namespace type {
24
25struct nil_t;
26
27#if !defined(MSGPACK_DISABLE_LEGACY_NIL)
28
29typedef nil_t nil;
30
31#endif // !defined(MSGPACK_DISABLE_LEGACY_NIL)
32
33bool operator<(nil_t const& lhs, nil_t const& rhs);
34
35bool 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:256
nil_t nil
Definition nil_decl.hpp:29
bool operator==(basic_variant< STR, BIN, EXT > const &lhs, basic_variant< STR, BIN, EXT > const &rhs)
Definition msgpack_variant.hpp:263
Definition adaptor_base.hpp:15
Definition nil.hpp:23
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66