Opened 12 years ago

Last modified 12 years ago

#4886 new Feature Requests

options_description clear() method

Reported by: mid9090@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

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();

}

Change History (1)

comment:1 by viboes, 12 years ago

Type: PatchesFeature Requests

Patches for feature request should contain tests and documentation so the ticket can be considered as a Patch.

Note: See TracTickets for help on using tickets.