12 Dec
2007
12 Dec
'07
12:43 p.m.
Robert Bielik wrote:
std::wstring strValue; po::options_description desc("Allowed options"); desc.add_options() ("help,h", "Produce help message") ("string,s", po::valuestd::wstring(&strValue), "A string value");
Did you read: http://www.boost.org/doc/html/program_options/howto.html#id1592999 It say to use 'wvalue' function, as opposed to 'value'. - Volodya