Re: struct in class feature

2012-12-11 Thread Rob T
On Tuesday, 11 December 2012 at 03:28:00 UTC, d coder wrote: Greetings I too find this very useful. I am also having this situation often when there is an array of nested struct instances inside a class environment. This is a common scenario and deserves attention. Also I believe (looking at

struct in class feature

2012-12-09 Thread js.mdnq
stemming from: http://forum.dlang.org/thread/azqevtjaoafbapiad...@forum.dlang.org I believe the following idea would offer good benefit for encapsulation in classes(increases the divide and conquer approach): For structs in classes(call them cstructs if you want): prototype: class A {