size_equal_only_decl.hpp
Go to the documentation of this file.
//
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2016 KONDO Takatoshi
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MSGPACK_V1_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
#define MSGPACK_V1_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
#include "msgpack/versioning.hpp"
#include "msgpack/adaptor/adaptor_base.hpp"
#include "msgpack/adaptor/msgpack_tuple.hpp"
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v1) {
namespace type {
template <typename T>
struct size_equal_only;
template <typename T>
size_equal_only<T> make_size_equal_only(T& t);
template <typename T>
std::size_t size(T const& t);
template <typename T, std::size_t N>
std::size_t size(const T(&)[N]);
#if !defined(MSGPACK_USE_CPP03)
template <typename... T>
std::size_t size(std::tuple<T...> const&);
#endif // !defined(MSGPACK_USE_CPP03)
} // namespace type
} // MSGPACK_API_VERSION_NAMESPACE(v1)
} // namespace msgpack
#endif // MSGPACK_V1_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
adaptor_base.hpp
msgpack::type::make_size_equal_only
size_equal_only< T > make_size_equal_only(T &t)
Definition: size_equal_only.hpp:51
msgpack_tuple.hpp
msgpack
Definition: adaptor_base.hpp:15
versioning.hpp
msgpack::type::size
std::size_t size(T const &t)
Definition: size_equal_only.hpp:24
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58