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
For metafunctions that require runtime support via #includes to be injected into lowered Cpp1 programs
Also cleanup while I'm at it:
- remove headers from `common.h` that are now already included via `cpp2util.h`
- line up some thing that got un-lined-up (OCD)
Copy file name to clipboardExpand all lines: regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-requires-clause-in-forward-declaration.cpp.output
In file included from pure2-bugfix-for-requires-clause-in-forward-declaration.cpp:7:
7
7
../../../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.
8
8
pure2-bugfix-for-requires-clause-in-forward-declaration.cpp2:4:1: note: in expansion of macro ‘CPP2_REQUIRES_’
0 commit comments