id summary reporter owner description type status milestone component version severity resolution keywords cc 4927 Incorrect behavior of method clear() for class program_options::variables_map degtyariov.a@… Vladimir Prus "The method clears only members inherited from the std::map. But what about other members of class variables_map (m_final, m_required)? It is lead to strange behavior in next case: 1) parse default config file and fill corresponding ""config file"" variables_map; 2) parse command line (into another variables_map), get name of custom config file; 3) call clear() for ""config file"" variables_map and parse new file and refill ""config file"" variables_map again; 4) output all values of the ""config file"" variables_map and denote which of them are defaulted Workaround: reassign new instance of variables_map instead call clear(). " Bugs closed program_options Boost 1.49.0 Problem fixed