-
Notifications
You must be signed in to change notification settings - Fork 76
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
Compile error in C++17 #20
Comments
This is funny, I just ran into the same exact issue minutes ago too. I've proposed the PR #21. I don't know if the original author of this library is still maintaining what's happening here. It seems this "archived" account is inactive, but they have a new account called @r-lyeh, but doesn't have a repository for this library. |
Nice timing! :) One more interesting thing is that using XCode's C ++ 17 compiler does not cause an error. So I could not find this error so far. |
This is because apple is shipping outdated standard library header with Xcode as far as I know (and it is sad.).
This is part of the standard library, not the core language.
… Le 18 nov. 2018 à 16:31, Jun Hyeon, Nam ***@***.***> a écrit :
Nice timing! :) One more interesting thing is that using XCode's C ++ 17 compiler does not cause an error. So I could not find this error so far.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Oh, the PR got accepted, you can probably close this issue |
FYI, I am monitoring this repo with the new account from now :) |
@r-lyeh Cool! Because this little library is genuinely useful. I needed to be sure to have unique identifiers for networked clients, and with this it's like, 4 lines of code to get a fairly strong -randomly wise- UUID. Thanks for your work! 👌 |
if use command line option /std:c++latest (c++17) in Visual Studio 2017,
compile error occurred about std::unary_function.
so i just remove the code
public std::unary_function < ... >
and it works.like this
is it right?
The text was updated successfully, but these errors were encountered: