MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
v1
adaptor
check_container_size_decl.hpp
Go to the documentation of this file.
1
//
2
// MessagePack for C++ static resolution routine
3
//
4
// Copyright (C) 2015-2016 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_CHECK_CONTAINER_SIZE_DECL_HPP
11
#define MSGPACK_V1_CHECK_CONTAINER_SIZE_DECL_HPP
12
13
#include "
msgpack/versioning.hpp
"
14
#include <cstdlib>
15
#include "
msgpack/sysdep.hpp
"
16
17
namespace
msgpack
{
18
20
MSGPACK_API_VERSION_NAMESPACE
(v1) {
22
23
struct
container_size_overflow
;
24
25
namespace
detail
{
26
27
template
<std::
size_t
N>
28
inline
void
check_container_size
(std::size_t size);
29
30
template
<std::
size_t
N>
31
inline
void
check_container_size_for_ext
(std::size_t size);
32
33
}
// namespace detail
34
35
template
<
typename
T>
36
inline
uint32_t
checked_get_container_size
(T size);
37
39
}
// MSGPACK_API_VERSION_NAMESPACE(v1)
41
42
}
// namespace msgpack
43
44
#endif
// MSGPACK_V1_CHECK_CONTAINER_SIZE_DECL_HPP
msgpack::detail
Definition
check_container_size.hpp:31
msgpack::detail::check_container_size
void check_container_size(std::size_t size)
Definition
check_container_size.hpp:34
msgpack::detail::check_container_size_for_ext
void check_container_size_for_ext(std::size_t size)
Definition
check_container_size.hpp:43
msgpack
Definition
adaptor_base.hpp:15
msgpack::checked_get_container_size
uint32_t checked_get_container_size(T size)
Definition
check_container_size.hpp:55
msgpack::container_size_overflow
Definition
check_container_size.hpp:22
sysdep.hpp
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition
versioning.hpp:66
versioning.hpp
Generated by
1.17.0