开源使用者 标签

混合外部和常量

2022-01-04 00:00:00 c scope constants c++ extern

如何输入 int64_t/uint64_t 常量?

2021-12-31 00:00:00 compiler-errors g++ constants c++ int64

错误:ISO C++ 禁止非常量静态成员的类内初始化

2021-12-31 00:00:00 static standards compiler-errors c++ iso

编译和工作的错误静态常量初始化

2021-12-31 00:00:00 gcc compiler-errors c++

在 C++ 中初始化常量字符串的静态常量数组

2021-12-31 00:00:00 initialization compiler-errors constants c++

如果从不通过它们修改对实际 const 对象的引用,是否允许 const-casting 掉其常量性?

2021-12-31 00:00:00 language-lawyer constants interface c++

为什么复制构造函数参数是常量?

2021-12-30 00:00:00 constructor c++

之前的常量还是之后的常量?

2021-12-29 00:00:00 c syntax constants c++

为什么允许通过常量引用而不是通过普通引用传递 R 值?

2021-12-29 00:00:00 parameters literals c++ pass-by-const-reference

常量引用和普通参数的区别

2021-12-29 00:00:00 reference parameters constants c++

当 C/C++ 中的数字常量以 0 为前缀时,这意味着什么?

2021-12-29 00:00:00 numbers c syntax compiler-construction c++

为什么在比较中将常量放在变量之前?

2021-12-29 00:00:00 c comparison syntax c++

是否有理由使用枚举在 C++ 代码中定义单个常量?

2021-12-29 00:00:00 enums constants c++

为什么人们在 C++ 中使用枚举作为常量而他们可以使用 const?

2021-12-29 00:00:00 enums enumeration c++

在 C++ 11 中将非常量左值引用绑定到右值是否有效?(修改)

2021-12-27 00:00:00 c++ c++11 visual-studio-2012 rvalue lvalue

为什么需要在分配给 C++ 常量的值后附加 L 或 F?

2021-12-25 00:00:00 types syntax constants c++

C++0x lambda 按值捕获总是常量?

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

Lambda 捕获作为常量引用?

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

为什么在未计算的操作数中不允许使用 lambda 表达式,但在常量表达式的未计算部分中允许使用 lambda 表达式?

2021-12-23 00:00:00 lambda c++ c++11 constant-expression c++14

我的代码如何区分编译时常量和变量?

2021-12-22 00:00:00 macros visual-c++ templates metaprogramming c++
  • «
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • »

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

京ICP备15023317号-6