| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,134 +1,134 @@ | |||
| 1 | 1 | mixed-bugfix-for-ufcs-non-local.cpp2:13:12: error: a lambda expression cannot appear in this context | |
| 2 | 2 | template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_1> bool inline constexpr v0{ false };// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context) | |
| 3 | 3 | ^ | |
| 4 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 4 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 5 | 5 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 6 | 6 | ^ | |
| 7 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 7 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 8 | 8 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 9 | 9 | ^ | |
| 10 | 10 | mixed-bugfix-for-ufcs-non-local.cpp2:15:3: error: a lambda expression cannot appear in this context | |
| 11 | 11 | t<CPP2_UFCS_NONLOCAL(f)(o)> inline constexpr v1{ t<true>() };// Fails on Clang 12 (lambda in unevaluated context). | |
| 12 | 12 | ^ | |
| 13 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 13 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 14 | 14 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 15 | 15 | ^ | |
| 16 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 16 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 17 | 17 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 18 | 18 | ^ | |
| 19 | 19 | mixed-bugfix-for-ufcs-non-local.cpp2:21:12: error: a lambda expression cannot appear in this context | |
| 20 | 20 | template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_2> auto g() -> void; | |
| 21 | 21 | ^ | |
| 22 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 22 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 23 | 23 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 24 | 24 | ^ | |
| 25 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 25 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 26 | 26 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 27 | 27 | ^ | |
| 28 | 28 | mixed-bugfix-for-ufcs-non-local.cpp2:23:42: error: a lambda expression cannot appear in this context | |
| 29 | 29 | auto g([[maybe_unused]] cpp2::impl::in<t<CPP2_UFCS_NONLOCAL(f)(o)>> unnamed_param_1) -> void; | |
| 30 | 30 | ^ | |
| 31 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 31 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 32 | 32 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 33 | 33 | ^ | |
| 34 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 34 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 35 | 35 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 36 | 36 | ^ | |
| 37 | 37 | mixed-bugfix-for-ufcs-non-local.cpp2:27:29: error: a lambda expression cannot appear in this context | |
| 38 | 38 | [[nodiscard]] auto h() -> t<CPP2_UFCS_NONLOCAL(f)(o)>; | |
| 39 | 39 | ^ | |
| 40 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 40 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 41 | 41 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 42 | 42 | ^ | |
| 43 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 43 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 44 | 44 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 45 | 45 | ^ | |
| 46 | 46 | mixed-bugfix-for-ufcs-non-local.cpp2:31:12: error: a lambda expression cannot appear in this context | |
| 47 | 47 | template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_3> using a = bool;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context) | |
| 48 | 48 | ^ | |
| 49 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 49 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 50 | 50 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 51 | 51 | ^ | |
| 52 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 52 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 53 | 53 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 54 | 54 | ^ | |
| 55 | 55 | mixed-bugfix-for-ufcs-non-local.cpp2:33:12: error: a lambda expression cannot appear in this context | |
| 56 | 56 | template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_4> auto inline constexpr b{ false };// Fails on GCC ([GCC109781][]). | |
| 57 | 57 | ^ | |
| 58 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 58 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 59 | 59 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 60 | 60 | ^ | |
| 61 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 61 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 62 | 62 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 63 | 63 | ^ | |
| 64 | 64 | mixed-bugfix-for-ufcs-non-local.cpp2:35:13: error: a lambda expression cannot appear in this context | |
| 65 | 65 | using c = t<CPP2_UFCS_NONLOCAL(f)(o)>;// Fails on Clang 12 (lambda in unevaluated context) and Clang 12 (a lambda expression cannot appear in this context) | |
| 66 | 66 | ^ | |
| 67 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 67 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 68 | 68 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 69 | 69 | ^ | |
| 70 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 70 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 71 | 71 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 72 | 72 | ^ | |
| 73 | 73 | mixed-bugfix-for-ufcs-non-local.cpp2:37:28: error: a lambda expression cannot appear in this context | |
| 74 | 74 | auto inline constexpr d{ t<CPP2_UFCS_NONLOCAL(f)(o)>() };// Fails on Clang 12 (lambda in unevaluated context). | |
| 75 | 75 | ^ | |
| 76 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 76 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 77 | 77 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 78 | 78 | ^ | |
| 79 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 79 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 80 | 80 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 81 | 81 | ^ | |
| 82 | 82 | mixed-bugfix-for-ufcs-non-local.cpp2:21:12: error: a lambda expression cannot appear in this context | |
| 83 | 83 | template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_2> auto g() -> void{}// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context) | |
| 84 | 84 | ^ | |
| 85 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 85 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 86 | 86 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 87 | 87 | ^ | |
| 88 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 88 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 89 | 89 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 90 | 90 | ^ | |
| 91 | 91 | mixed-bugfix-for-ufcs-non-local.cpp2:23:42: error: a lambda expression cannot appear in this context | |
| 92 | 92 | auto g([[maybe_unused]] cpp2::impl::in<t<CPP2_UFCS_NONLOCAL(f)(o)>> unnamed_param_1) -> void{}// Fails on Clang 12 (lambda in unevaluated context). | |
| 93 | 93 | ^ | |
| 94 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 94 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 95 | 95 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 96 | 96 | ^ | |
| 97 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 97 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 98 | 98 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 99 | 99 | ^ | |
| 100 | 100 | mixed-bugfix-for-ufcs-non-local.cpp2:27:29: error: a lambda expression cannot appear in this context | |
| 101 | 101 | [[nodiscard]] auto h() -> t<CPP2_UFCS_NONLOCAL(f)(o)> { return o; }// Fails on Clang 12 (lambda in unevaluated context). | |
| 102 | 102 | ^ | |
| 103 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 103 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 104 | 104 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 105 | 105 | ^ | |
| 106 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 106 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 107 | 107 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 108 | 108 | ^ | |
| 109 | 109 | mixed-bugfix-for-ufcs-non-local.cpp2:42:77: error: no matching function for call to object of type 'ns::u::(lambda at mixed-bugfix-for-ufcs-non-local.cpp2:42:77)' | |
| 110 | 110 | requires (std::is_convertible_v<CPP2_TYPEOF(x), std::add_const_t<decltype(CPP2_UFCS_NONLOCAL(f)(o))>&>) { return CPP2_FORWARD(x); }(true) }; | |
| 111 | 111 | ^~~~~~~~~~~~~~~~~~~~~ | |
| 112 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 112 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 113 | 113 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 114 | 114 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 115 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 115 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 116 | 116 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 117 | 117 | ^ | |
| 118 | 118 | mixed-bugfix-for-ufcs-non-local.cpp2:42:77: note: candidate template ignored: couldn't infer template argument 'Obj' | |
| 119 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 119 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 120 | 120 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 121 | 121 | ^ | |
| 122 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 122 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 123 | 123 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 124 | 124 | ^ | |
| 125 | 125 | mixed-bugfix-for-ufcs-non-local.cpp2:42:77: error: lambda expression in an unevaluated operand | |
| 126 | 126 | requires (std::is_convertible_v<CPP2_TYPEOF(x), std::add_const_t<decltype(CPP2_UFCS_NONLOCAL(f)(o))>&>) { return CPP2_FORWARD(x); }(true) }; | |
| 127 | 127 | ^ | |
| 128 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 128 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 129 | 129 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 130 | 130 | ^ | |
| 131 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 131 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 132 | 132 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 133 | 133 | ^ | |
| 134 | 134 | 14 errors generated. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,10 @@ | |||
| 1 | 1 | pure2-bugfix-for-ufcs-noexcept.cpp2:5:26: error: lambda expression in an unevaluated operand | |
| 2 | 2 | static_assert(noexcept(CPP2_UFCS(swap)(t(), t())));// Fails on Clang 12 (lambda in unevaluated context) and GCC 10 (static assertion failed) | |
| 3 | 3 | ^ | |
| 4 | - ../../../include/cpp2util.h:2132:59: note: expanded from macro 'CPP2_UFCS' | ||
| 4 | + ../../../include/cpp2util.h:10091:59: note: expanded from macro 'CPP2_UFCS' | ||
| 5 | 5 | #define CPP2_UFCS(...) CPP2_UFCS_(&,CPP2_UFCS_EMPTY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 6 | 6 | ^ | |
| 7 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 7 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 8 | 8 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 9 | 9 | ^ | |
| 10 | 10 | 1 error generated. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,19 +1,19 @@ | |||
| 1 | 1 | pure2-bugfix-for-ufcs-sfinae.cpp2:1:78: error: lambda expression in an unevaluated operand | |
| 2 | 2 | template<typename T> [[nodiscard]] auto f() -> std::type_identity_t<decltype(CPP2_UFCS_NONLOCAL(a)(T()))>; | |
| 3 | 3 | ^ | |
| 4 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 4 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 5 | 5 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 6 | 6 | ^ | |
| 7 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 7 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 8 | 8 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 9 | 9 | ^ | |
| 10 | 10 | pure2-bugfix-for-ufcs-sfinae.cpp2:1:78: error: lambda expression in an unevaluated operand | |
| 11 | 11 | template<typename T> [[nodiscard]] auto f() -> std::type_identity_t<decltype(CPP2_UFCS_NONLOCAL(a)(T()))>{}// Fails on Clang 12 (lambda in unevaluated context). | |
| 12 | 12 | ^ | |
| 13 | - ../../../include/cpp2util.h:2137:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 13 | + ../../../include/cpp2util.h:10096:59: note: expanded from macro 'CPP2_UFCS_NONLOCAL' | ||
| 14 | 14 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__) | |
| 15 | 15 | ^ | |
| 16 | - ../../../include/cpp2util.h:2099:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 16 | + ../../../include/cpp2util.h:10058:66: note: expanded from macro 'CPP2_UFCS_' | ||
| 17 | 17 | #define CPP2_UFCS_(LAMBDADEFCAPT,SFINAE,MVFWD,QUALID,TEMPKW,...) \ | |
| 18 | 18 | ^ | |
| 19 | 19 | 2 errors generated. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ pure2-last-use.cpp2:344:16: error: no template named 'move_only_function' in nam | |||
| 13 | 13 | pure2-last-use.cpp2:348:161: error: no member named 'move_only_function' in namespace 'std' | |
| 14 | 14 | CPP2_REQUIRES_ (std::is_convertible_v<CPP2_TYPEOF(a_), std::add_const_t<std::unique_ptr<int>>&> && std::is_convertible_v<CPP2_TYPEOF(b_), std::add_const_t<std::move_only_function<int()>>&> && std::is_convertible_v<CPP2_TYPEOF(c_), std::add_const_t<std::add_lvalue_reference_t<int>>&>) ; | |
| 15 | 15 | ~~~~~^ | |
| 16 | - ../../../include/cpp2util.h:10008:43: note: expanded from macro 'CPP2_REQUIRES_' | ||
| 16 | + ../../../include/cpp2util.h:10109:43: note: expanded from macro 'CPP2_REQUIRES_' | ||
| 17 | 17 | #define CPP2_REQUIRES_(...) requires (__VA_ARGS__) | |
| 18 | 18 | ^~~~~~~~~~~ | |
| 19 | 19 | pure2-last-use.cpp2:348:188: error: expected expression | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,10 @@ | |||
| 1 | 1 | mixed-increment-decrement.cpp2:4:47: error: expected ‘;’ at end of member declaration | |
| 2 | 2 | In file included from mixed-increment-decrement.cpp:6: | |
| 3 | - ../../../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. | ||
| 3 | + ../../../include/cpp2util.h:10106: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. | ||
| 4 | 4 | mixed-increment-decrement.cpp2:5:1: note: in expansion of macro ‘CPP2_REQUIRES_’ | |
| 5 | 5 | mixed-increment-decrement.cpp2:4:39: error: expected ‘;’ at end of member declaration | |
| 6 | 6 | In file included from mixed-increment-decrement.cpp:6: | |
| 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. | ||
| 7 | + ../../../include/cpp2util.h:10106: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 | mixed-increment-decrement.cpp2:5:1: note: in expansion of macro ‘CPP2_REQUIRES_’ | |
| 9 | 9 | mixed-increment-decrement.cpp2:4:32: error: no declaration matches ‘iterator<T>& iterator<T>::operator++() & requires true’ | |
| 10 | 10 | mixed-increment-decrement.cpp2:4:18: note: candidates are: ‘iterator<T> iterator<T>::operator++(int) &’ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments