Created on 2012-04-25.00:00:00 last changed 147 months ago
Rationale (October, 2012):
CWG agreed that this is already permitted by virtue of _N4567_.5.1.1 [expr.prim.general] paragraph 6.
Existing practice appears to be to allow C++03-style aggregate initialization from a parenthesized string literal, e.g.,
struct S { char arr[4]; } s = {("abc")};
This should be standardized, to allow examples like
struct S { char arr[4]; }; void f(S); void g() { f({("abc")}); }
History | |||
---|---|---|---|
Date | User | Action | Args |
2012-11-03 00:00:00 | admin | set | messages: + msg4176 |
2012-11-03 00:00:00 | admin | set | status: open -> nad |
2012-04-25 00:00:00 | admin | create |