Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Function template collect_unrecognized

boost::program_options::collect_unrecognized —

Synopsis

template<typename charT> 
std::vector< std::basic_string< charT > > 
collect_unrecognized(const std::vector< basic_option< charT > > & options, 
enum collect_unrecognized_mode mode);

Description

Collects the original tokens for all named options with 'unregistered' flag set. If 'mode' is 'include_positional' also collects all positional options. Returns the vector of origianl tokens for all collected options.

Copyright 2002-2004 Vladimir Prus

PrevUpHomeNext