On 10/02/2015 02:39 PM, Rik wrote:
I also like the overloaded _value() method idea. We could start out
small by just overloading the string_value () method since this seems to
be one of the most frequent occurrences where the function expected a
string, for an option maybe, but numeric input was given.
Yes, I think this is the most frequent case of something like
if (! args(0).is_string ())
{
error ("...");
return retval;
}
so I think it makes sense to start with this one and see what we think.
I'll work on this with my other changes.