Added API versioning.

This commit is contained in:
Takatoshi Kondo
2014-10-12 22:48:15 +09:00
parent cd03ab62f8
commit 3ddeb08e6e
41 changed files with 261 additions and 11 deletions

View File

@@ -18,6 +18,8 @@
#ifndef MSGPACK_CPP11_MSGPACK_TUPLE_HPP
#define MSGPACK_CPP11_MSGPACK_TUPLE_HPP
#include "msgpack/versioning.hpp"
#include <tuple>
#include "msgpack/object.hpp"
@@ -25,6 +27,8 @@
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v1) {
namespace type {
// tuple
using std::get;
@@ -203,6 +207,8 @@ inline void operator<< (
MsgpackTupleToObjectWithZone<decltype(v), sizeof...(Args)>::convert(o, v);
}
} // msgpack
} // MSGPACK_API_VERSION_NAMESPACE(v1)
} // namespace msgpack
#endif // MSGPACK_CPP11_MSGPACK_TUPLE_HPP