[Boost-bugs] [Boost C++ Libraries] #4886: options_description clear() method

Subject: [Boost-bugs] [Boost C++ Libraries] #4886: options_description clear() method
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-23 20:27:58


#4886: options_description clear() method
-------------------------------+--------------------------------------------
 Reporter: mid9090@… | Owner: vladimir_prus
     Type: Patches | Status: new
Milestone: To Be Determined | Component: program_options
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
-------------------------------+--------------------------------------------
 For a project I'm working on, I consistently add the following public
 clear() method to the boost/program_options/options_description.hpp header
 file. It's possible that others may find this clear() method useful as
 well.

      void clear()
      {
          m_options.clear();
          belong_to_group.clear();
          groups.clear();
      }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4886>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC