digitalmars.D.bugs - [Issue 12081] New: Warn against, and then deprecate class allocators
- d-bugmail puremagic.com (26/26) Feb 05 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12081
https://d.puremagic.com/issues/show_bug.cgi?id=12081 Summary: Warn against, and then deprecate class allocators Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc According to the docs class allocators are deprecated: http://dlang.org/class.html#allocators But this code gives no warnings nor deprecation errors, that I suggest to introduce: class Foo { new(size_t sz) { return null; } delete(void* p) {} } void main() {} -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 05 2014