www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14646] New: Add a documented way to invoke postblit

https://issues.dlang.org/show_bug.cgi?id=14646

          Issue ID: 14646
           Summary: Add a documented way to invoke postblit
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: timon.gehr gmx.ch

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.

--
Jun 03 2015