We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a01b1 commit a3eebc6Copy full SHA for a3eebc6
regression-tests/test-results/pure2-print.cpp
@@ -22,7 +22,7 @@ class outer {
22
public: template<typename T>
23
CPP2_REQUIRES_ (true)
24
#line 6 "pure2-print.cpp2"
25
- static const T object_alias;
+ static constexpr T object_alias = 42;
26
27
public: class mytype final
28
{
@@ -87,12 +87,6 @@ auto main() -> int;
87
//=== Cpp2 function definitions =================================================
88
89
90
-#line 6 "pure2-print.cpp2"
91
- template<typename T>
92
-requires (true)
93
94
- inline constexpr T outer::object_alias = 42;
95
-
96
#line 10 "pure2-print.cpp2"
97
[[nodiscard]] auto outer::mytype::f() -> int { return 42; }
98
0 commit comments