parse_decl.hpp 896 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // MessagePack for C++ deserializing routine
  3. //
  4. // Copyright (C) 2018-2017 KONDO Takatoshi
  5. //
  6. // Distributed under the Boost Software License, Version 1.0.
  7. // (See accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. #ifndef MSGPACK_V3_PARSE_DECL_HPP
  11. #define MSGPACK_V3_PARSE_DECL_HPP
  12. #include "msgpack/v2/parse_decl.hpp"
  13. namespace msgpack {
  14. /// @cond
  15. MSGPACK_API_VERSION_NAMESPACE(v3) {
  16. /// @endcond
  17. namespace detail {
  18. template <typename VisitorHolder>
  19. class context;
  20. } // detail
  21. using v2::parser;
  22. using v2::parse;
  23. namespace detail {
  24. template <typename Visitor>
  25. struct parse_helper;
  26. template <typename Visitor>
  27. inline parse_return
  28. parse_imp(const char* data, size_t len, size_t& off, Visitor& v);
  29. } // detail
  30. /// @cond
  31. } // MSGPACK_API_VERSION_NAMESPACE(v3)
  32. /// @endcond
  33. } // namespace msgpack
  34. #endif // MSGPACK_V3_PARSE_DECL_HPP