| Home | Libraries | People | FAQ | More

## Function template read_info

boost::property_tree::info_parser::read_info

## Synopsis

    // In header: <boost/property_tree/info_parser.hpp>

    template<typename Ptree, typename Ch>
      void read_info(std::basic_istream< Ch > & stream, Ptree & pt);

## Description

Read INFO from the given stream and translate it to a property tree.

| Note
Replaces the existing contents. Strong exception guarantee.

Throws: | info_parser_error If the stream cannot be read, doesn't contain valid INFO, or a conversion fails.