digitalmars.D.learn - DIP 1000 and classes
- =?UTF-8?B?Tm9yZGzDtnc=?= (2/2) Jan 03 2019 How does DIP 1000 treat the lifetime scoped class parameters and
- Jonathan M Davis (6/8) Jan 03 2019 scope isn't transitive, and putting an object inside a container would b...
How does DIP 1000 treat the lifetime scoped class parameters and containers of classes?
Jan 03 2019
On Thursday, January 3, 2019 3:28:35 AM MST Nordlöw via Digitalmars-d-learn wrote:How does DIP 1000 treat the lifetime scoped class parameters and containers of classes?scope isn't transitive, and putting an object inside a container would be escaping it, which would violate scope. So, you could have a container that was scope, but you couldn't put anything that's scope inside of it. - Jonathan M Davis
Jan 03 2019