You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I register an Validator for my flag,like this:
static const bool nonused = google::RegisterFlagValidator(&myflag,&fooFunc);
command like this:
myprogram -myflag="a" -myflag="b"
my program relies on that each occurrence of -myflag=xxx cause a single
invoking of fooFunc(OK,It is a workaround for other things).But actually there
is a unnecessary invoking of fooFunc. for example, the library calls once
fooFunc for "a",and calls twice fooFunc for "b".That just makes my program
complex,I don't know is it a bug.I think should you change the
behaviours of the library???
Original issue reported on code.google.com by [email protected] on 12 Apr 2013 at 6:04
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 12 Apr 2013 at 6:04The text was updated successfully, but these errors were encountered: