You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../../../include/cpp2util.h:10005:33: error: expected unqualified-id before ‘static_assert’
3
3
pure2-print.cpp2:7:1: note: in expansion of macro ‘CPP2_REQUIRES_’
4
+
pure2-print.cpp2:63:59: error: expected ‘;’ at end of member declaration
5
+
In file included from pure2-print.cpp:7:
6
+
../../../include/cpp2util.h:10005:47: error: static assertion failed: GCC 11 or higher is required to support variables and type-scope functions that have a 'requires' clause. This includes a type-scope 'forward' parameter of non-wildcard type, such as 'func: (this, forward s: std::string)', which relies on being able to add a 'requires' clause - in that case, use 'forward s: _' instead if you need the result to compile with GCC 10.
7
+
pure2-print.cpp2:64:1: note: in expansion of macro ‘CPP2_REQUIRES_’
4
8
../../../include/cpp2util.h:10005:33: error: expected initializer before ‘static_assert’
5
9
pure2-print.cpp2:89:1: note: in expansion of macro ‘CPP2_REQUIRES_’
6
10
pure2-print.cpp2:6:29: error: ‘constexpr const T outer::object_alias’ is not a static data member of ‘class outer’
7
11
pure2-print.cpp2:6:36: error: template definition of non-template ‘constexpr const T outer::object_alias’
0 commit comments