c++ - GCC 8.3 无法编译 std::bind_front
问题描述
g++有可能以比我指定的旧标准编译我的程序吗?
我编译:
g++ -Wall -Wextra -pedantic -O3 -std=c++2a -fconcepts
并且编译器无法识别 bind_front 函数(我包括在内<functional>
)。编译器版本是 GCC 8.3。
解决方案
推荐阅读
- java - IntelliJ 报告包不存在(仅在 Windows 上)
- sql - Oracle Query 适用于 19c 但不适用于 11g
- c++ - std::this_thread::sleep_until 时间完全偏离了大约 2 倍,莫名其妙
- qt - qt小部件在显示小部件上显示或隐藏时如何解决视频闪烁?
- java - 将java转换为jar时产生的.rar文件
- flutter - 如何自动将小部件添加到脚手架的主体?
- javascript - 使用自定义 Hook 事件处理反应陈旧状态
- graph - 冻结图索引错误:列表索引超出范围
- cordova - 如何在 Cordova 中为不同平台定义不同的文件链接
- javascript - 可以展开、调整第一行大小、悬停和突出显示选定的 HTML 表格