Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1118 closed Bugs (fixed)

Custom validator for type T ignored when parsing vector<T>

Reported by: Hugo Duncan Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

Having supplied a custom validator for type T, this is ignored by the validator for vector<T>, which calls lexical_cast directly.

I assume the validator for vector<T> should call xparse to pick up the custom validator for the contained type.

Change History (2)

comment:1 by Vladimir Prus, 15 years ago

Resolution: → fixed
Status: new → closed

(In [38459]) When parsing vector<T>, use validator for type T. Fixes #1118.

comment:2 by Alvaro, 14 years ago

Peter Griffin: Oh, I hate it when your mother worries. She usually says things like "I told you so" and "Stop doing that, I'm asleep." ​vendita viagra ​fioricet information ​come comprare cialis generico ​cheap tramadol medication

Note: See TracTickets for help on using tickets.