Skip to content

Commit

Permalink
Rerun regession
Browse files Browse the repository at this point in the history
  • Loading branch information
hsutter committed Nov 2, 2024
1 parent 698b44c commit 74694a2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ In file included from pure2-print.cpp: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.
pure2-print.cpp2:68:1: note: in expansion of macro ‘CPP2_REQUIRES_’
../../../include/cpp2util.h:10005:33: error: expected initializer before ‘static_assert’
pure2-print.cpp2:97:1: note: in expansion of macro ‘CPP2_REQUIRES_’
pure2-print.cpp2:110:1: note: in expansion of macro ‘CPP2_REQUIRES_’
pure2-print.cpp2:9:41: error: ‘constexpr const T outer::object_alias’ is not a static data member of ‘class outer’
pure2-print.cpp2:9:48: error: template definition of non-template ‘constexpr const T outer::object_alias’
pure2-print.cpp2:67:14: error: no declaration matches ‘void outer::mytype::variadic(const auto:97& ...) requires (is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(outer::mytype::variadic::x)>::type>::type, int> && ...)’
pure2-print.cpp2:67:29: note: candidate is: ‘template<class ... auto:96> static void outer::mytype::variadic(const auto:96& ...)’
pure2-print.cpp2:10:19: note: ‘class outer::mytype’ defined here
pure2-print.cpp2:96:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::impl::cmp_greater_eq(sizeof ... (Args ...), 0)’
pure2-print.cpp2:96:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::impl::cmp_greater_eq(sizeof ... (Args ...), 0)’
pure2-print.cpp2:96:24: note: the expression ‘!requires{std::vector<int, std::allocator<int> >;}’ evaluated to ‘false’
pure2-print.cpp2:109:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::impl::cmp_greater_eq(sizeof ... (Args ...), 0)’
pure2-print.cpp2:109:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::impl::cmp_greater_eq(sizeof ... (Args ...), 0)’
pure2-print.cpp2:6:7: note: ‘class outer’ defined here
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pure2-concept-definition-no-pitfall-1.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pure2-concept-definition-no-pitfall-2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pure2-concept-definition-no-pitfall-3.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pure2-concept-definition-pit-of-success-1.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pure2-concept-definition.cpp
pure2-concept-definition.cpp2(28): error C2607: static assertion failed

0 comments on commit 74694a2

Please sign in to comment.