123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- //
- // 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 {
- /// @cond
- MSGPACK_API_VERSION_NAMESPACE(v3) {
- /// @endcond
- 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;
- /// @cond
- } // MSGPACK_API_VERSION_NAMESPACE(v3)
- /// @endcond
- } // namespace msgpack
- #else // MSGPACK_USE_CPP03
- namespace msgpack {
- /// @cond
- MSGPACK_API_VERSION_NAMESPACE(v3) {
- /// @endcond
- // 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;
- /// @cond
- } // MSGPACK_API_VERSION_NAMESPACE(v3)
- /// @endcond
- } // namespace msgpack
- #endif // MSGPACK_USE_CPP03
- #endif // MSGPACK_V3_CPP_CONFIG_DECL_HPP
|