Re: What does scope do as storage class?

2017-12-23 Thread Nemanja Boric via Digitalmars-d-learn
On Saturday, 23 December 2017 at 21:20:13 UTC, Jonathan M Davis wrote: On Saturday, December 23, 2017 21:05:25 Marc via Digitalmars-d-learn wrote: for example: scope struct S { int x; } What does scope do here? Absolutely nothing.

Re: What does scope do as storage class?

2017-12-23 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, December 23, 2017 21:05:25 Marc via Digitalmars-d-learn wrote: > for example: > > scope struct S { >int x; > } > > What does scope do here? Absolutely nothing. https://stackoverflow.com/questions/47240714/d-pure-classes-and-structs - Jonathan M Davis

What does scope do as storage class?

2017-12-23 Thread Marc via Digitalmars-d-learn
for example: scope struct S { int x; } What does scope do here?