Implicit conversion of unique chars[] to string

Per Nordlöw per.nordlow at gmail.com
Mon Mar 22 21:39:47 UTC 2021


On Monday, 22 March 2021 at 20:38:36 UTC, Per Nordlöw wrote:
>     chainPath(...).array

To clarify, for instance, given

       string s;
       const(char)[] c;

all the calls

       chainPath(s, s).array
       chainPath(c, c).array
       chainPath(s, c).array
       chainPath(c, s).array

return a value of type const(char)[].


More information about the Digitalmars-d-learn mailing list