x3_parse_decl.hpp 766 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // MessagePack for C++ deserializing routine
  3. //
  4. // Copyright (C) 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_V2_X3_PARSE_DECL_HPP
  11. #define MSGPACK_V2_X3_PARSE_DECL_HPP
  12. #if defined(MSGPACK_USE_X3_PARSE)
  13. #include "msgpack/versioning.hpp"
  14. namespace msgpack {
  15. /// @cond
  16. MSGPACK_API_VERSION_NAMESPACE(v2) {
  17. /// @endcond
  18. template <typename Iterator, typename Visitor>
  19. bool parse(Iterator&& begin, Iterator&& end, Visitor&& vis);
  20. /// @cond
  21. } // MSGPACK_API_VERSION_NAMESPACE(v2)
  22. /// @endcond
  23. } // namespace msgpack
  24. #endif // defined(MSGPACK_USE_X3_PARSE)
  25. #endif // MSGPACK_V2_X3_PARSE_DECL_HPP