We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b4fb31 commit 9833a4aCopy full SHA for 9833a4a
stl/inc/limits
@@ -120,7 +120,10 @@ struct _Num_int_base : _Num_base { // base for integer types
120
static constexpr bool is_exact = true;
121
static constexpr bool is_integer = true;
122
static constexpr bool is_specialized = true;
123
- static constexpr int radix = 2;
+#if defined(_M_IX86) || defined(_M_X64)
124
+ static constexpr bool traps = true;
125
+#endif
126
+ static constexpr int radix = 2;
127
};
128
129
struct _Num_float_base : _Num_base { // base for floating-point types
@@ -178,6 +181,7 @@ public:
178
181
return 0;
179
182
}
180
183
184
+ static constexpr bool traps = false;
185
static constexpr int digits = 1;
186
187
0 commit comments