Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template parse_config_file

boost::program_options::parse_config_file

Synopsis

// In header: <boost/program_options/parsers.hpp>


template<typename charT> 
  BOOST_PROGRAM_OPTIONS_DECL basic_parsed_options< charT > 
  parse_config_file(const char * filename, const options_description &, 
                    bool allow_unregistered = false);

Description

Parse a config file.

Read from file with the given name. The character type is passed to the file stream.


PrevUpHomeNext