Open GoogleCodeExporter opened 9 years ago
Thanks for the feedback, Andrew. The main reason to not support all possible C
types was certainly motivated by the paradigm to keep the API as lean as
possible. If you consider that the gflags library is intended for the parsing
of command-line flags, I think there is good reason to only support primitive
types such as (signed) integral numbers, floating-point numbers (e.g., always
single or double precision only), and strings.
From the mentioned missing types, I wonder how you would go ahead and support
std::wstring? As the input argument will be a multi-byte string, a conversion
is necessary. Does this conversion not depend on the particular code page used?
Original comment by andreas....@gmail.com
on 14 Jan 2013 at 3:08
Original issue reported on code.google.com by
and...@spacemonkey.com
on 13 Dec 2012 at 2:31