@@ -578,13 +578,13 @@ template <typename T, typename... As> constexpr auto pop_front_and_push_front(T
578578
579579// match any term
580580struct anything {
581- constexpr inline anything () noexcept { };
581+ constexpr inline anything () noexcept { }
582582 template <auto V> constexpr anything (term<V>) noexcept ;
583583};
584584
585585// match range of term A-B
586586template <auto A, decltype (A) B> struct range {
587- constexpr inline range () noexcept { };
587+ constexpr inline range () noexcept { }
588588 // template <auto V> constexpr range(term<V>) noexcept requires (A <= V) && (V <= B);
589589 template <auto V, typename = std::enable_if_t <(A <= V) && (V <= B)>> constexpr inline range (term<V>) noexcept ;
590590};
@@ -597,7 +597,7 @@ template <auto V, auto... Set> struct contains {
597597
598598// match terms defined in set
599599template <auto ... Def> struct set {
600- constexpr inline set () noexcept { };
600+ constexpr inline set () noexcept { }
601601 #ifdef __EDG__
602602 template <auto V, typename = std::enable_if_t <contains<V, Def...>::value>> constexpr inline set (term<V>) noexcept ;
603603 #else
@@ -607,7 +607,7 @@ template <auto... Def> struct set {
607607
608608// match terms not defined in set
609609template <auto ... Def> struct neg_set {
610- constexpr inline neg_set () noexcept { };
610+ constexpr inline neg_set () noexcept { }
611611
612612 #ifdef __EDG__
613613 template <auto V, typename = std::enable_if_t <!contains<V, Def...>::value>> constexpr inline neg_set (term<V>) noexcept ;
@@ -2740,15 +2740,14 @@ constexpr auto first(ctll::list<Content...> l, ctll::list<repeat<0, B, Seq...>,
27402740
27412741// lookahead_positive
27422742template <typename ... Content, typename ... Seq, typename ... Tail>
2743- constexpr auto first (ctll::list<Content...> l, ctll::list<lookahead_positive<Seq...>, Tail...>) noexcept {
2744- auto out = first (l, ctll::list<Seq..., Tail...>{});
2745- return first (out, ctll::list<Tail...>{});
2743+ constexpr auto first (ctll::list<Content...>, ctll::list<lookahead_positive<Seq...>, Tail...>) noexcept {
2744+ return ctll::list<can_be_anything>{};
27462745}
27472746
27482747// lookahead_negative TODO fixme
27492748template <typename ... Content, typename ... Seq, typename ... Tail>
27502749constexpr auto first (ctll::list<Content...>, ctll::list<lookahead_negative<Seq...>, Tail...>) noexcept {
2751- return can_be_anything{};
2750+ return ctll::list< can_be_anything> {};
27522751}
27532752
27542753// capture
@@ -3554,8 +3553,8 @@ template <typename RE> struct regular_expression {
35543553 template <typename IteratorBegin, typename IteratorEnd> constexpr CTRE_FORCE_INLINE static auto search_2 (IteratorBegin begin, IteratorEnd end) noexcept {
35553554 return search_re (begin, end, RE ());
35563555 }
3557- constexpr CTRE_FORCE_INLINE regular_expression () noexcept { };
3558- constexpr CTRE_FORCE_INLINE regular_expression (RE) noexcept { };
3556+ constexpr CTRE_FORCE_INLINE regular_expression () noexcept { }
3557+ constexpr CTRE_FORCE_INLINE regular_expression (RE) noexcept { }
35593558 template <typename Iterator> constexpr CTRE_FORCE_INLINE static auto match (Iterator begin, Iterator end) noexcept {
35603559 return match_re (begin, end, RE ());
35613560 }
0 commit comments