This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
/* XXX: Any way to get current location? */
The following examples produce equivalent functions:
1. [] (auto x, auto& y, auto const& z) { return x + y + z; } 2. [] <typename X, typename Y, typename Z> (X x, Y& y, Z const& z) { return x + y + z; } 3. [] <typename Y> (auto x, Y& y, auto const& z) { return x + y + z; }
In fact it would be better + to keep building a tree list and only flatten into + a vector after parsing the parameter list. */
+ /* XXX: Maybe to loop rather than recurse here? */
+ if (type_dependent_expression_p (expr)) + /* TODO: Should defer this until instantiation rather than using + decltype. */ + return_type = type_decays_to (non_reference (finish_decltype_type + (expr, /*id_expression_or_member_access_p=*/false)));
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |