@@ -1429,35 +1429,35 @@ using word_chars = set<char_range<'A','Z'>, char_range<'a','z'>, char_range<'0',
1429
1429
using space_chars = enumeration<' ', '\t', '\n', '\v', '\f', '\r'>;
1430
1430
1431
1431
using vertical_space_chars = enumeration<
1432
- ( char) 0x000A, // Linefeed (LF)
1433
- ( char) 0x000B, // Vertical tab (VT)
1434
- ( char) 0x000C, // Form feed (FF)
1435
- ( char) 0x000D, // Carriage return (CR)
1436
- ( char32_t) 0x0085, // Next line (NEL)
1437
- ( char32_t) 0x2028, // Line separator
1438
- ( char32_t) 0x2029 // Paragraph separator
1432
+ char{ 0x000A} , // Linefeed (LF)
1433
+ char{ 0x000B} , // Vertical tab (VT)
1434
+ char{ 0x000C} , // Form feed (FF)
1435
+ char{ 0x000D} , // Carriage return (CR)
1436
+ char32_t{ 0x0085} , // Next line (NEL)
1437
+ char32_t{ 0x2028} , // Line separator
1438
+ char32_t{ 0x2029} // Paragraph separator
1439
1439
>;
1440
1440
1441
1441
using horizontal_space_chars = enumeration<
1442
- ( char) 0x0009, // Horizontal tab (HT)
1443
- ( char) 0x0020, // Space
1444
- ( char32_t) 0x00A0, // Non-break space
1445
- ( char32_t) 0x1680, // Ogham space mark
1446
- ( char32_t) 0x180E, // Mongolian vowel separator
1447
- ( char32_t) 0x2000, // En quad
1448
- ( char32_t) 0x2001, // Em quad
1449
- ( char32_t) 0x2002, // En space
1450
- ( char32_t) 0x2003, // Em space
1451
- ( char32_t) 0x2004, // Three-per-em space
1452
- ( char32_t) 0x2005, // Four-per-em space
1453
- ( char32_t) 0x2006, // Six-per-em space
1454
- ( char32_t) 0x2007, // Figure space
1455
- ( char32_t) 0x2008, // Punctuation space
1456
- ( char32_t) 0x2009, // Thin space
1457
- ( char32_t) 0x200A, // Hair space
1458
- ( char32_t) 0x202F, // Narrow no-break space
1459
- ( char32_t) 0x205F, // Medium mathematical space
1460
- ( char32_t) 0x3000 // Ideographic space
1442
+ char{ 0x0009} , // Horizontal tab (HT)
1443
+ char{ 0x0020} , // Space
1444
+ char32_t{ 0x00A0} , // Non-break space
1445
+ char32_t{ 0x1680} , // Ogham space mark
1446
+ char32_t{ 0x180E} , // Mongolian vowel separator
1447
+ char32_t{ 0x2000} , // En quad
1448
+ char32_t{ 0x2001} , // Em quad
1449
+ char32_t{ 0x2002} , // En space
1450
+ char32_t{ 0x2003} , // Em space
1451
+ char32_t{ 0x2004} , // Three-per-em space
1452
+ char32_t{ 0x2005} , // Four-per-em space
1453
+ char32_t{ 0x2006} , // Six-per-em space
1454
+ char32_t{ 0x2007} , // Figure space
1455
+ char32_t{ 0x2008} , // Punctuation space
1456
+ char32_t{ 0x2009} , // Thin space
1457
+ char32_t{ 0x200A} , // Hair space
1458
+ char32_t{ 0x202F} , // Narrow no-break space
1459
+ char32_t{ 0x205F} , // Medium mathematical space
1460
+ char32_t{ 0x3000} // Ideographic space
1461
1461
>;
1462
1462
1463
1463
using alphanum_chars = set<char_range<'A','Z'>, char_range<'a','z'>, char_range<'0','9'> >;
@@ -2169,9 +2169,9 @@ template <auto V, size_t N, typename... Ts, typename Parameters> static constexp
2169
2169
template <auto V, size_t N, typename... Ts, typename Parameters> static constexpr auto apply(pcre::finish_hexdec, ctll::term<V>, pcre_context<ctll::list<number<N>, Ts...>, Parameters> subject) {
2170
2170
constexpr size_t max_char = std::numeric_limits<char>::max();
2171
2171
if constexpr (N <= max_char) {
2172
- return pcre_context{ctll::push_front(character<( char)N >(), ctll::list<Ts...>()), subject.parameters};
2172
+ return pcre_context{ctll::push_front(character<char{N} >(), ctll::list<Ts...>()), subject.parameters};
2173
2173
} else {
2174
- return pcre_context{ctll::push_front(character<( char32_t)N >(), ctll::list<Ts...>()), subject.parameters};
2174
+ return pcre_context{ctll::push_front(character<char32_t{N} >(), ctll::list<Ts...>()), subject.parameters};
2175
2175
}
2176
2176
}
2177
2177
0 commit comments