Skip to content

Conversation

@ITHelpDec
Copy link

Not sure what compiler this code was tested on, but we need the following headers to allow our example to compile.

#include <numeric>    // std::accumulate
#include <functional> // std::mem_fn

Godbolt

Before: gcc | clang
After: gcc | clang

+ #include <numeric>
+ #include <functional>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant