|
| 1 | +pure2-last-use.cpp2:273:36: error: expected variable name or 'this' in lambda capture list |
| 2 | + public: std::add_pointer_t<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> g; |
| 3 | + ^ |
| 4 | +pure2-last-use.cpp2:329:2: error: expected '>' |
| 5 | +}; |
| 6 | + ^ |
| 7 | +pure2-last-use.cpp2:273:30: note: to match this '<' |
| 8 | + public: std::add_pointer_t<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> g; |
| 9 | + ^ |
| 10 | +pure2-last-use.cpp2:344:16: error: no template named 'move_only_function' in namespace 'std' |
| 11 | + public: std::move_only_function<int()> b; |
| 12 | + ~~~~~^ |
| 13 | +pure2-last-use.cpp2:348:161: error: no member named 'move_only_function' in namespace 'std' |
| 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 | + ~~~~~^ |
| 16 | +../../../include/cpp2util.h:10008:43: note: expanded from macro 'CPP2_REQUIRES_' |
| 17 | + #define CPP2_REQUIRES_(...) requires (__VA_ARGS__) |
| 18 | + ^~~~~~~~~~~ |
| 19 | +pure2-last-use.cpp2:348:188: error: expected expression |
| 20 | +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>>&>) ; |
| 21 | + ^ |
| 22 | +pure2-last-use.cpp2:348:193: error: use of address-of-label extension outside of a function body |
| 23 | +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>>&>) ; |
| 24 | + ^ |
| 25 | +pure2-last-use.cpp2:773:69: error: no template named 'move_only_function' in namespace 'std' |
| 26 | +auto issue_888_1([[maybe_unused]] std::string unnamed_param_1, std::move_only_function<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> size) -> void; |
| 27 | + ~~~~~^ |
| 28 | +pure2-last-use.cpp2:773:93: error: expected variable name or 'this' in lambda capture list |
| 29 | +auto issue_888_1([[maybe_unused]] std::string unnamed_param_1, std::move_only_function<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> size) -> void; |
| 30 | + ^ |
| 31 | +pure2-last-use.cpp2:773:156: error: expected unqualified-id |
| 32 | +auto issue_888_1([[maybe_unused]] std::string unnamed_param_1, std::move_only_function<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> size) -> void; |
| 33 | + ^ |
| 34 | +pure2-last-use.cpp2:773:160: error: expected '>' |
| 35 | +auto issue_888_1([[maybe_unused]] std::string unnamed_param_1, std::move_only_function<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> size) -> void; |
| 36 | + ^ |
| 37 | +pure2-last-use.cpp2:773:87: note: to match this '<' |
| 38 | +auto issue_888_1([[maybe_unused]] std::string unnamed_param_1, std::move_only_function<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> size) -> void; |
| 39 | + ^ |
| 40 | +pure2-last-use.cpp2:773:160: error: expected ')' |
| 41 | +auto issue_888_1([[maybe_unused]] std::string unnamed_param_1, std::move_only_function<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> size) -> void; |
| 42 | + ^ |
| 43 | +pure2-last-use.cpp2:773:17: note: to match this '(' |
| 44 | +auto issue_888_1([[maybe_unused]] std::string unnamed_param_1, std::move_only_function<int([[maybe_unused]] cpp2::impl::in<int> unnamed_param_1)> size) -> void; |
| 45 | + ^ |
| 46 | +pure2-last-use.cpp2:271:7: error: missing '}' at end of definition of 'issue_857_4' |
| 47 | +class issue_857_4 { |
| 48 | + ^ |
| 49 | +pure2-last-use.cpp2:905:1: note: still within definition of 'issue_857_4' here |
| 50 | +namespace captures { |
| 51 | +^ |
| 52 | +pure2-last-use.cpp2:279:272: error: no member named 'move_only_function' in namespace 'std' |
| 53 | +requires (std::is_convertible_v<CPP2_TYPEOF(f_), std::add_const_t<std::add_pointer_t<int()>>&> && std::is_convertible_v<CPP2_TYPEOF(g_), std::add_const_t<std::add_pointer_t<int(cpp2::impl::in<int> in_)>>&> && std::is_convertible_v<CPP2_TYPEOF(mf_), std::add_const_t<std::move_only_function<int()>>&> && std::is_convertible_v<CPP2_TYPEOF(mg_), std::add_const_t<std::move_only_function<int(cpp2::impl::in<int> in_)>>&>) |
| 54 | + ~~~~~^ |
| 55 | +pure2-last-use.cpp2:279:299: error: expected expression |
| 56 | +requires (std::is_convertible_v<CPP2_TYPEOF(f_), std::add_const_t<std::add_pointer_t<int()>>&> && std::is_convertible_v<CPP2_TYPEOF(g_), std::add_const_t<std::add_pointer_t<int(cpp2::impl::in<int> in_)>>&> && std::is_convertible_v<CPP2_TYPEOF(mf_), std::add_const_t<std::move_only_function<int()>>&> && std::is_convertible_v<CPP2_TYPEOF(mg_), std::add_const_t<std::move_only_function<int(cpp2::impl::in<int> in_)>>&>) |
| 57 | + ^ |
| 58 | +pure2-last-use.cpp2:279:304: error: use of address-of-label extension outside of a function body |
| 59 | +requires (std::is_convertible_v<CPP2_TYPEOF(f_), std::add_const_t<std::add_pointer_t<int()>>&> && std::is_convertible_v<CPP2_TYPEOF(g_), std::add_const_t<std::add_pointer_t<int(cpp2::impl::in<int> in_)>>&> && std::is_convertible_v<CPP2_TYPEOF(mf_), std::add_const_t<std::move_only_function<int()>>&> && std::is_convertible_v<CPP2_TYPEOF(mg_), std::add_const_t<std::move_only_function<int(cpp2::impl::in<int> in_)>>&>) |
| 60 | + ^ |
| 61 | +pure2-last-use.cpp2:278:14: error: out-of-line definition of 'issue_857_4' does not match any declaration in 'issue_857_4' |
| 62 | +issue_857_4::issue_857_4(auto&& f_, auto&& g_, auto&& mf_, auto&& mg_) |
| 63 | + ^~~~~~~~~~~ |
| 64 | +pure2-last-use.cpp2:281:272: error: member initializer 'g' does not name a non-static data member or base class |
| 65 | + , g{ CPP2_FORWARD(g_) } |
| 66 | + ^~~~~~~~~~~~~~~~~~~~~ |
| 67 | +pure2-last-use.cpp2:282:272: error: member initializer 'mf' does not name a non-static data member or base class |
| 68 | + , mf{ CPP2_FORWARD(mf_) } |
| 69 | + ^~~~~~~~~~~~~~~~~~~~~~~ |
| 70 | +pure2-last-use.cpp2:283:272: error: member initializer 'mg' does not name a non-static data member or base class |
| 71 | + , mg{ CPP2_FORWARD(mg_) }{} |
| 72 | + ^~~~~~~~~~~~~~~~~~~~~~~ |
| 73 | +fatal error: too many errors emitted, stopping now [-ferror-limit=] |
| 74 | +20 errors generated. |
0 commit comments