[Issue 10097] __ctor, __dtor, and __postblit should no appear in user code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 16 09:48:12 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10097



--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2013-05-16 09:48:12 PDT ---
However, __postblit and __dtor are already used in Phobos -
hasElaborateCopyCoonstructor and hasElaborateDestructor.

So, we should support additional __traits to replace the existing usage:
__traits(hasCtor, AggrType);
__traits(hasDtor, AggrType);
__traits(hasPostblit, AggrType);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list