parsing arguments of type "std::ws...

Help
Anonymous
2011-04-29
2013-05-28

  • Anonymous
    2011-04-29

    Hello ,

                 First of all I would like to thank you for such a useful product.. Make developers life so much easier.

                 I ran into a problem while I was trying to parse command line input which took in a std::wstring.
                My Code

                std::wstring defaultValue;
               UnlabeledValueArg<std::wstring> serverName("COMPUTERNAME",
                                                                                                    "List all scheduled tasks of computer",
                                                                                                     false,
                                                                                                     defaultValue,
                                                                                                     "string"
                                                                                                  );

    Could you kindly let me know if it is possible that tclap supports wstring? any suggestions is welcome . thanks