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
When compiling the code, I received the following error :
....../Cpp-High-Performance-Second-Edition-master/Chapter09/example_projections.cpp:65:16: error: ‘sort’ is not a member of ‘std::ranges’; did you mean ‘std::sort’?
65 | std::ranges::sort(players, std::less{}, [](const Player& p) {
| ^~~~
To eliminate this error, I add the header file in the source file located at: ....../Cpp-High-Performance-Second-Edition-master/Chapter09/example_projections.cpp.
The text was updated successfully, but these errors were encountered:
When compiling the code, I received the following error :
....../Cpp-High-Performance-Second-Edition-master/Chapter09/example_projections.cpp:65:16: error: ‘sort’ is not a member of ‘std::ranges’; did you mean ‘std::sort’?
65 | std::ranges::sort(players, std::less{}, [](const Player& p) {
| ^~~~
To eliminate this error, I add the header file in the source file located at: ....../Cpp-High-Performance-Second-Edition-master/Chapter09/example_projections.cpp.
The text was updated successfully, but these errors were encountered: