#73 ✓resolved
Christopher Stawarz

Selection variables don't support negative values

Reported by Christopher Stawarz | April 25th, 2011 @ 11:46 AM | in 0.5.0 (closed)

If the "values" parameter of a selection variable includes negative numbers, they get turned into positive numbers. This happens because the values are split up with boost::tokenizer<>, which uses the default (and deprecated) char_delimiters_separator, which seems to treat all punctuation characters as delimiters.

The fix is to use char_separator and explicitly specify the delimiter characters. This leads to the question: Which delimiters should we support? Commas only? Commas and spaces?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The core framework and supporting libraries for the MWorks Suite

People watching this ticket