开源使用者 标签

静态 constexpr int 与老式枚举:何时以及为什么?

2021-12-29 00:00:00 enums c++ c++11 constexpr

lambda 函数/表达式是否支持 constexpr?

2021-12-23 00:00:00 lambda c++ c++11 constexpr

投入 constexpr 函数

2021-12-18 00:00:00 gcc c++ constexpr c++14

constexpr 使用静态函数初始化静态成员

2021-12-18 00:00:00 gcc g++ c++ constexpr static-members

将非 constexpr 标准库函数视为 constexpr 是否符合编译器扩展?

2021-12-18 00:00:00 gcc language-lawyer c++ c++11 c++14

constexpr 和使用重新解释强制转换的静态 const void 指针的初始化,哪个编译器是正确的?

2021-12-18 00:00:00 gcc clang c++ c++11 constexpr

在 C++11 中计算编译时(constexpr)中的斐波那契数(递归方法)

2021-12-16 00:00:00 递归 fibonacci templates c++ c++11

我可以将 C++17 无捕获 lambda constexpr 转换运算符的结果用作函数指针模板非类型参数吗?

2021-12-13 00:00:00 lambda language-lawyer templates c++ c++17

我能在模板参数中声明一个 constexpr lambda 吗?

2021-12-13 00:00:00 language-lawyer templates c++ c++17

变量上的 const 与 constexpr

2021-12-13 00:00:00 variables constants c++ c++11 constexpr

在编译时使用 Constexpr 填充数组

2021-12-13 00:00:00 templates c++ c++11 constexpr

constexpr if 和 static_assert

2021-12-13 00:00:00 templates c++ c++17 constexpr static-assert

用 SFINAE 检测 constexpr

2021-12-13 00:00:00 templates c++ c++11 constexpr sfinae

Constexpr 指针值

2021-12-13 00:00:00 pointers clang c++ c++11 constexpr

何时在编译时评估 constexpr 函数?

2021-12-12 00:00:00 runtime c++ c++11 constexpr compile-time

对静态 constexpr char[] 的未定义引用

2021-12-12 00:00:00 c++ c++11 constexpr static-members

我需要将 constexpr 放在 else-if 之后吗?

2021-12-12 00:00:00 if-statement c++ c++17 if-constexpr

“if constexpr()"之间的区别与“if()"

2021-12-12 00:00:00 if-statement c++ c++17 constexpr
  • «
  • 1
  • 2
  • »

友情链接: 雨伦博客   雅安论坛

京ICP备15023317号-6