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
A strong demand is to construct std::path from command-line arguments, where std::wstring is native string type for std::path on Windows.
In past experience, Boost.Program_options (Sphinx docs) is the only library that allowed me to program wmain in real code. But Boost's choice is to template everything on character type while still supporting some codecvt conversions internally. Using only wvalue may work for some applications, but in general wcommand_line_parser is needed.
Given argparse' type erasure design, we have an opportunity to look at the problem differently.
The text was updated successfully, but these errors were encountered:
In past experience, Boost.Program_options (Sphinx docs) is the only library that allowed me to program wmain in real code. But Boost's choice is to template everything on character type while still supporting some codecvt conversions internally. Using only wvalue may work for some applications, but in general wcommand_line_parser is needed.
Changed argparse to handle wmain correctly, see this issue: #222
A boss
https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?view=vs-2019
That all C++ cmdline parsing libraries face.
A strong demand is to construct
std::path
from command-line arguments, wherestd::wstring
is native string type forstd::path
on Windows.In past experience, Boost.Program_options (Sphinx docs) is the only library that allowed me to program wmain in real code. But Boost's choice is to template everything on character type while still supporting some
codecvt
conversions internally. Using onlywvalue
may work for some applications, but in generalwcommand_line_parser
is needed.Given argparse' type erasure design, we have an opportunity to look at the problem differently.
The text was updated successfully, but these errors were encountered: