g++ with std::exclusive_scan (c++17)

╄→гoц情女王★ 提交于 2019-12-24 07:18:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!