New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[filesystem_error.members] what() function to use non-existant function native_string() #1629
Comments
More likely |
native() returns wstring on Windows, so cannot be used in an exception what-message. |
Good point. My implementation uses |
Is this editorial? The fix seems normative. |
It's being dealt with as an LWG issue. |
Although it's arguably not normative, since |
The description fo the what() function says:
"Returns: A string containing runtime_error::what(). The exact format is unspecified. Implementations
are encouraged but not required to include path1.native_string() if not empty, path2.native_-
string() if not empty, and system_error::what() strings in the returned string."
The native_string() should likely be just string().
The text was updated successfully, but these errors were encountered: