[program_options] variables_map documentation

Hi, The program_options tutorial shows an example using the count member function of variables_map, but I don't see that function in the documentation for variables_map <http://www.boost.org/doc/html/variables_map.html> or in the documentation for abstract_variables_map <http://www.boost.org/doc/html/abstract_variables_map.html> Chris

Chris Weed wrote:
Hi, The program_options tutorial shows an example using the count member function of variables_map, but I don't see that function in the documentation for variables_map <http://www.boost.org/doc/html/variables_map.html> or in the documentation for abstract_variables_map <http://www.boost.org/doc/html/abstract_variables_map.html>
Hi Chris, the 'count' method is part of std::map interface, that variables_map inherit from. BoostBook does not show this inheritance, but current version of docs mention this in variables_map description. - Volodya
participants (2)
-
Chris Weed
-
Vladimir Prus