@@ -38,7 +38,7 @@ class alias_declaration;
38
38
#line 827 "reflect.h2"
39
39
class value_member_info ;
40
40
41
- #line 1281 "reflect.h2"
41
+ #line 1280 "reflect.h2"
42
42
}
43
43
44
44
}
@@ -693,14 +693,14 @@ auto flag_enum(meta::type_declaration& t) -> void;
693
693
694
694
auto cpp2_union (meta::type_declaration& t) -> void;
695
695
696
- #line 1175 "reflect.h2"
696
+ #line 1174 "reflect.h2"
697
697
// -----------------------------------------------------------------------
698
698
//
699
699
// print - output a pretty-printed visualization of t
700
700
//
701
701
auto print (cpp2::in<meta::type_declaration> t) -> void;
702
702
703
- #line 1185 "reflect.h2"
703
+ #line 1184 "reflect.h2"
704
704
// -----------------------------------------------------------------------
705
705
//
706
706
// apply_metafunctions
@@ -711,7 +711,7 @@ auto print(cpp2::in<meta::type_declaration> t) -> void;
711
711
auto const & error
712
712
) -> bool;
713
713
714
- #line 1281 "reflect.h2"
714
+ #line 1280 "reflect.h2"
715
715
}
716
716
717
717
}
@@ -1552,8 +1552,8 @@ auto value = 0;
1552
1552
#line 1086 "reflect.h2"
1553
1553
for (
1554
1554
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))
1557
1557
{
1558
1558
CPP2_UFCS (require, m, CPP2_UFCS_0 (is_public, m) || CPP2_UFCS_0 (is_default_access, m),
1559
1559
" a union alternative cannot be protected or private" );
@@ -1599,22 +1599,22 @@ std::string storage = " _storage: std::aligned_storage_t<cpp2::max( ";
1599
1599
{
1600
1600
std::string comma = " " ;
1601
1601
1602
- #line 1129 "reflect.h2"
1602
+ #line 1128 "reflect.h2"
1603
1603
for (
1604
1604
1605
1605
auto const & e : alternatives ) { do {
1606
1606
storage += comma + " sizeof(" + cpp2::to_string (e.type ) + " )" ;
1607
1607
} while (false ); comma = " , " ; }
1608
1608
}
1609
1609
1610
- #line 1135 "reflect.h2"
1610
+ #line 1134 "reflect.h2"
1611
1611
storage += " )> = ();\n " ;
1612
1612
CPP2_UFCS (add_member, t, std::move (storage));
1613
1613
}
1614
1614
}
1615
1615
1616
1616
// Provide discriminator
1617
- #line 1140 "reflect.h2"
1617
+ #line 1139 "reflect.h2"
1618
1618
CPP2_UFCS (add_member, t, " _discriminator: " + cpp2::to_string (std::move (discriminator_type)) + " = -1;\n " );
1619
1619
1620
1620
// Add the alternatives: is_alternative, get_alternative, and set_alternative
@@ -1636,7 +1636,7 @@ std::string destroy = " private destroy: (inout this) = {\n";
1636
1636
1637
1637
// Add destroy
1638
1638
1639
- #line 1159 "reflect.h2"
1639
+ #line 1158 "reflect.h2"
1640
1640
{
1641
1641
for (
1642
1642
auto const & a : alternatives ) {
@@ -1650,17 +1650,17 @@ std::string destroy = " private destroy: (inout this) = {\n";
1650
1650
}
1651
1651
1652
1652
// Add the destructor
1653
- #line 1171 "reflect.h2"
1653
+ #line 1170 "reflect.h2"
1654
1654
CPP2_UFCS (add_member, t, " operator=: (move this) = { destroy(); } " );
1655
1655
}
1656
1656
1657
- #line 1179 "reflect.h2"
1657
+ #line 1178 "reflect.h2"
1658
1658
auto print (cpp2::in<meta::type_declaration> t) -> void
1659
1659
{
1660
1660
std::cout << CPP2_UFCS_0 (print, t) << " \n " ;
1661
1661
}
1662
1662
1663
- #line 1189 "reflect.h2"
1663
+ #line 1188 "reflect.h2"
1664
1664
[[nodiscard]] auto apply_metafunctions (
1665
1665
declaration_node& n,
1666
1666
type_declaration& rtype,
@@ -1752,7 +1752,7 @@ auto print(cpp2::in<meta::type_declaration> t) -> void
1752
1752
return true ;
1753
1753
}
1754
1754
1755
- #line 1281 "reflect.h2"
1755
+ #line 1280 "reflect.h2"
1756
1756
}
1757
1757
1758
1758
}
0 commit comments