Question re specific implicit type coercion
Paul Backus
snarwin at gmail.com
Mon Oct 18 15:34:45 UTC 2021
On Monday, 18 October 2021 at 15:04:11 UTC, Don Allen wrote:
> Section 12.17 of the Language Reference does not indicate any
> circumstance in which a dynamic array, which the literal is, is
> implicitly coerced to a pointer.
This is a special case for string literals, covered in [section
10.23.7][1].
[1]: https://dlang.org/spec/expression.html#string_literals
More information about the Digitalmars-d-learn
mailing list