123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- #ifndef BOOST_JSON_PARSE_INTO_HPP
- #define BOOST_JSON_PARSE_INTO_HPP
- #include <boost/json/detail/config.hpp>
- #include <boost/json/basic_parser.hpp>
- #include <boost/json/string_view.hpp>
- #include <boost/json/system_error.hpp>
- #include <boost/json/detail/parse_into.hpp>
- #include <boost/system/result.hpp>
- namespace boost {
- namespace json {
- template< class T >
- using parser_for =
- #ifndef BOOST_JSON_DOCS
- basic_parser<detail::into_handler<T>>;
- #else
- __see_below__;
- #endif
- template<class V>
- void
- parse_into(
- V& v,
- string_view sv,
- system::error_code& ec,
- parse_options const& opt = {} );
- template<class V>
- void
- parse_into(
- V& v,
- string_view sv,
- std::error_code& ec,
- parse_options const& opt = {} );
- template<class V>
- void
- parse_into(
- V& v,
- string_view sv,
- parse_options const& opt = {} );
- template<class V>
- void
- parse_into(
- V& v,
- std::istream& is,
- system::error_code& ec,
- parse_options const& opt = {} );
- template<class V>
- void
- parse_into(
- V& v,
- std::istream& is,
- std::error_code& ec,
- parse_options const& opt = {} );
- template<class V>
- void
- parse_into(
- V& v,
- std::istream& is,
- parse_options const& opt = {} );
- }
- }
- #include <boost/json/impl/parse_into.hpp>
- #endif
|