cpp_config_decl.hpp
Go to the documentation of this file.
//
// MessagePack for C++ C++03/C++11 Adaptation
//
// Copyright (C) 2018 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_V3_CPP_CONFIG_DECL_HPP
#define MSGPACK_V3_CPP_CONFIG_DECL_HPP
#include "msgpack/v2/cpp_config_decl.hpp"
#if defined(MSGPACK_USE_CPP03)
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v3) {
using v2::unique_ptr;
using v2::move;
using v2::enable_if;
using v2::integral_constant;
using v2::is_same;
using v2::underlying_type;
using v2::is_array;
using v2::remove_const;
using v2::remove_volatile;
using v2::remove_cv;
using v2::is_pointer;
} // MSGPACK_API_VERSION_NAMESPACE(v3)
} // namespace msgpack
#else // MSGPACK_USE_CPP03
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v3) {
// unique_ptr
using v2::unique_ptr;
// using v2::make_unique; // since C++14
using v2::hash;
// utility
using v2::move;
using v2::swap;
using v2::enable_if;
using v2::is_same;
using v2::underlying_type;
using v2::is_array;
using v2::remove_const;
using v2::remove_volatile;
using v2::remove_cv;
using v2::is_pointer;
} // MSGPACK_API_VERSION_NAMESPACE(v3)
} // namespace msgpack
#endif // MSGPACK_USE_CPP03
#endif // MSGPACK_V3_CPP_CONFIG_DECL_HPP
cpp_config_decl.hpp
msgpack
Definition: adaptor_base.hpp:15
msgpack::move
T const & move(T const &t)
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58