Nicer syntax for constructors
Adam D. Ruppe
destructionator at gmail.com
Mon Nov 19 16:22:21 UTC 2018
On Monday, 19 November 2018 at 16:15:38 UTC, bauss wrote:
> The problem with your solution is if you just want a and b
> assigned.
That's why I said you can slice tuples. Of course, slice needs
them to be contiguous but still.
Though tbh I think this whole thing is folly - for pod, use
struct and things just work. If your class has a group of pod
stuff... use a struct!
More information about the Digitalmars-d
mailing list