How to include C++ 17 headers with g++ 6.2.0 with -std=c++17 (optional, any, string_view, variant)

隐身守侯 提交于 2019-11-29 13:55:07

You can't.

GCC 6.2's support for C++17 is experimental, which is literally why the headers are arranged like this.

If only they'd done this for std::regex back in the day! It's a gift.

https://gcc.gnu.org/projects/cxx-status.html#cxx1z

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