On Wed, Jun 3, 2009 at 12:06 AM, Book'em Dano <[email protected]> wrote:

>
> Does anyone have objections to including such a function? It would
> just return a copy of std::map<std::string, StringType> switches_;
>
> I'd like to add such a function so that I can iterate over the command
> line args (both switches and loose values) and validate that only
> expected values are present.


How do you decide what is "unexpected"?  The current system allows any part
of the code to define and use switches.

TVL


>
>
> -D
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to