File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1361,6 +1361,7 @@ struct ascii_chars : char_range<'\x00','\x7F'> { };
13611361
13621362// master branch is not including unicode db (for now)
13631363// #include "../unicode-db/unicode.hpp"
1364+ #include < array>
13641365
13651366namespace ctre {
13661367
@@ -2310,12 +2311,22 @@ template <> struct captures<> {
23102311 template <typename > CTRE_FORCE_INLINE static constexpr bool exists () noexcept {
23112312 return false ;
23122313 }
2314+ #if __cpp_nontype_template_parameter_class
2315+ template <ctll::fixed_string> CTRE_FORCE_INLINE static constexpr bool exists () noexcept {
2316+ return false ;
2317+ }
2318+ #endif
23132319 template <size_t > CTRE_FORCE_INLINE constexpr auto & select () const noexcept {
23142320 return capture_not_exists;
23152321 }
23162322 template <typename > CTRE_FORCE_INLINE constexpr auto & select () const noexcept {
23172323 return capture_not_exists;
23182324 }
2325+ #if __cpp_nontype_template_parameter_class
2326+ template <ctll::fixed_string> CTRE_FORCE_INLINE constexpr auto & select () const noexcept {
2327+ return capture_not_exists;
2328+ }
2329+ #endif
23192330};
23202331
23212332template <typename Iterator, typename ... Captures> class regex_results {
You can’t perform that action at this time.
0 commit comments