Bug 14646 – Add a documented way to invoke postblit
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-06-03T19:23:45Z
Last change time
2023-02-13T14:19:23Z
Assigned to
No Owner
Creator
timon.gehr
Comments
Comment #0 by timon.gehr — 2015-06-03T19:23:45Z
Currently, postblit can be invoked manually on a struct object using obj.__postblit();. However, this is not documented. There should be a documented way to invoke postblit. I.e. either add __postblit to the language specification (together with __ctor, __dtor) or add a suitable library function.