On 5/17/2013 12:54 AM, Don Clugston wrote:
I think that the reason that having both an initializer and a constructor appears desirable, is actually as a workaround for the lack of struct default constructors. If we really need a solution for that, we should consider doing something like allowing struct default constructors, but requiring them to be CTFEable.
I know there's regular pressure to add default constructors, but I strongly oppose this. D has a lot of nice features because of the .init property. Default constructors wreck that.
_______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
