When is it preferrable to use
struct S { private T t; alias t this; }
instead of
struct S { public T t; alias t this; }
for any given type T
?
November 01, 2022 public vs private alias this | ||||
---|---|---|---|---|
| ||||
When is it preferrable to use
instead of
for any given type |
November 02, 2022 Re: public vs private alias this | ||||
---|---|---|---|---|
| ||||
Posted in reply to Per Nordlöw | On Tuesday, 1 November 2022 at 23:01:57 UTC, Per Nordlöw wrote: >When is it preferrable to use
instead of
for any given type If the |