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 f438578 commit 13a99f7Copy full SHA for 13a99f7
subspace/ops/range_literals.h
@@ -31,12 +31,12 @@ struct RangeLiteralDeducer {
31
std::conditional_t<IsSigned, ::sus::num::isize, ::sus::num::usize>;
32
using Digit = std::conditional_t<IsSigned, int, unsigned int>;
33
34
- // A non-consteval method used to indicate failure in parsing, which produces
+ // A non-constexpr method used to indicate failure in parsing, which produces
35
// a compiler error and still works in the presence of -fno-exceptions unlike
36
// `throw`.
37
static void invalid(const char*);
38
39
- consteval RangeLiteralDeducer(const char* c) {
+ constexpr RangeLiteralDeducer(const char* c) {
40
size_t i = 0u;
41
42
bool has_lower = false;
0 commit comments