@@ -38,7 +38,7 @@ class alias_declaration;
3838#line 827 "reflect.h2"
3939class value_member_info ;
4040
41- #line 1281 "reflect.h2"
41+ #line 1280 "reflect.h2"
4242}
4343
4444}
@@ -693,14 +693,14 @@ auto flag_enum(meta::type_declaration& t) -> void;
693693
694694auto cpp2_union (meta::type_declaration& t) -> void;
695695
696- #line 1175 "reflect.h2"
696+ #line 1174 "reflect.h2"
697697// -----------------------------------------------------------------------
698698//
699699// print - output a pretty-printed visualization of t
700700//
701701auto print (cpp2::in<meta::type_declaration> t) -> void;
702702
703- #line 1185 "reflect.h2"
703+ #line 1184 "reflect.h2"
704704// -----------------------------------------------------------------------
705705//
706706// apply_metafunctions
@@ -711,7 +711,7 @@ auto print(cpp2::in<meta::type_declaration> t) -> void;
711711 auto const & error
712712 ) -> bool;
713713
714- #line 1281 "reflect.h2"
714+ #line 1280 "reflect.h2"
715715}
716716
717717}
@@ -1552,8 +1552,8 @@ auto value = 0;
15521552#line 1086 "reflect.h2"
15531553 for (
15541554
1555- auto const & m : CPP2_UFCS_0 (get_members, t) ) { do
1556- if ( CPP2_UFCS_0 (is_member_object, m))
1555+ auto const & m : CPP2_UFCS_0 (get_members, t) ) { do
1556+ if ( CPP2_UFCS_0 (is_member_object, m))
15571557 {
15581558 CPP2_UFCS (require, m, CPP2_UFCS_0 (is_public, m) || CPP2_UFCS_0 (is_default_access, m),
15591559 " a union alternative cannot be protected or private" );
@@ -1599,22 +1599,22 @@ std::string storage = " _storage: std::aligned_storage_t<cpp2::max( ";
15991599{
16001600std::string comma = " " ;
16011601
1602- #line 1129 "reflect.h2"
1602+ #line 1128 "reflect.h2"
16031603 for (
16041604
16051605 auto const & e : alternatives ) { do {
16061606 storage += comma + " sizeof(" + cpp2::to_string (e.type ) + " )" ;
16071607 } while (false ); comma = " , " ; }
16081608}
16091609
1610- #line 1135 "reflect.h2"
1610+ #line 1134 "reflect.h2"
16111611 storage += " )> = ();\n " ;
16121612 CPP2_UFCS (add_member, t, std::move (storage));
16131613 }
16141614}
16151615
16161616 // Provide discriminator
1617- #line 1140 "reflect.h2"
1617+ #line 1139 "reflect.h2"
16181618 CPP2_UFCS (add_member, t, " _discriminator: " + cpp2::to_string (std::move (discriminator_type)) + " = -1;\n " );
16191619
16201620 // Add the alternatives: is_alternative, get_alternative, and set_alternative
@@ -1636,7 +1636,7 @@ std::string destroy = " private destroy: (inout this) = {\n";
16361636
16371637 // Add destroy
16381638
1639- #line 1159 "reflect.h2"
1639+ #line 1158 "reflect.h2"
16401640 {
16411641 for (
16421642 auto const & a : alternatives ) {
@@ -1650,17 +1650,17 @@ std::string destroy = " private destroy: (inout this) = {\n";
16501650}
16511651
16521652 // Add the destructor
1653- #line 1171 "reflect.h2"
1653+ #line 1170 "reflect.h2"
16541654 CPP2_UFCS (add_member, t, " operator=: (move this) = { destroy(); } " );
16551655}
16561656
1657- #line 1179 "reflect.h2"
1657+ #line 1178 "reflect.h2"
16581658auto print (cpp2::in<meta::type_declaration> t) -> void
16591659{
16601660 std::cout << CPP2_UFCS_0 (print, t) << " \n " ;
16611661}
16621662
1663- #line 1189 "reflect.h2"
1663+ #line 1188 "reflect.h2"
16641664[[nodiscard]] auto apply_metafunctions (
16651665 declaration_node& n,
16661666 type_declaration& rtype,
@@ -1752,7 +1752,7 @@ auto print(cpp2::in<meta::type_declaration> t) -> void
17521752 return true ;
17531753}
17541754
1755- #line 1281 "reflect.h2"
1755+ #line 1280 "reflect.h2"
17561756}
17571757
17581758}
0 commit comments