问题
Is std::exclusive_scan
implemented with libstdc++
? I'm trying to use the function but I'm getting compilation error saying std::exclusive_scan
is not found. Here is the sample code. With clang compiler I'm able to run the code without stdlib=libc++
option. I've included the correct header file (<numeric>
) and compiling using std=c++17
flag.
来源:https://stackoverflow.com/questions/55771604/g-with-stdexclusive-scan-c17