Consider the following Minimal Complete:
#include <numeric>
int main() {
std::transform_reduce();
}
An attempt to compile it with GCC 7.2 results in error:
[bipll@home ~]$ g++ -std=c++17 omg.cpp
omg.cpp: In function ‘int main()’:
omg.cpp:4:7: error: ‘transform_reduce’ is not a member of ‘std’
std::transform_reduce();
^~~~~~~~~~~~~~~~
[bipll@home ~]$ g++ -v |& tail -1
gcc version 7.2.0 (GCC)
I have tried to find something related on https://gcc.gnu.org/projects/cxx-status.html but it mostly covers language features and I haven't seen anything on new STL definitions support (sometimes this can be trivially automated, like checking #if __has_include(<execution>), but <numeric> is an old include and I don't see any clean way to check whether it contains a particular definition). Aside from scriptedly parsing STL headers, are there any quick info sources on whether something described in current draft has already been implemented? and when something else will probably be?