mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
In some cases, rpclib uses the value of the `__cplusplus` macro to determine implementation details. We remove these, as UHD requires C++17 anyway now and the value of __cplusplus may be broken depending on compilers.
48 lines
1.2 KiB
C++
48 lines
1.2 KiB
C++
//
|
|
// MessagePack for C++ C++03/C++11 Adaptation
|
|
//
|
|
// Copyright (C) 2013 KONDO Takatoshi
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
#ifndef MSGPACK_CPP_CONFIG_HPP
|
|
#define MSGPACK_CPP_CONFIG_HPP
|
|
|
|
#include "rpc/msgpack/versioning.hpp"
|
|
|
|
#include <memory>
|
|
#include <tuple>
|
|
|
|
namespace clmdep_msgpack {
|
|
/// @cond
|
|
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
|
/// @endcond
|
|
|
|
// unique_ptr
|
|
using std::unique_ptr;
|
|
// using std::make_unique; // since C++14
|
|
using std::hash;
|
|
|
|
// utility
|
|
using std::move;
|
|
using std::swap;
|
|
using std::enable_if;
|
|
using std::is_same;
|
|
|
|
/// @cond
|
|
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
|
/// @endcond
|
|
} // namespace clmdep_msgpack
|
|
|
|
#endif /* msgpack/cpp_config.hpp */
|