_d_newclass

Create a new class instance.

Allocates memory and sets fields to their initial value, but does not call a constructor.

new Object() // _d_newclass(typeid(Object))
extern (C)
_d_newclass
(
const ClassInfo ci
)

Parameters

ci ClassInfo

TypeInfo_Class object, to provide instance size and initial bytes to copy

Return Value

Type: Object

newly created object

Meta