| #include <system_error> | |
| int main() { | |
| std::error_code x = std::make_error_code(std::errc::no_such_file_or_directory); | |
| printf("%d\n", x != std::errc::no_such_file_or_directory); // Should print 0, does on libstdc++6 < 5. Prints 1 on libstdc++6-5 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment