Boost C++ Libraries: Ticket #7777: at() member function required for program_options::variables_map https://svn.boost.org/trac10/ticket/7777 <p> variables_map provides operator[] which sets an empty value to the option, if the specified key does not exist.<br /> I think it would be nice and more robust to also provide an overrided member function at() which throws an exception for such circumstances. </p> <p> Related ticket: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7495" title="#7495: Feature Requests: Support for boost::optional in boost::program_options (closed: fixed)">#7495</a>. If implementing <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7495" title="#7495: Feature Requests: Support for boost::optional in boost::program_options (closed: fixed)">#7495</a>, it will be also required to handle boost::optional values for at(). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7777 Trac 1.4.3