construct

Returns a new, GC-free, class instance.

  1. CT construct(A a)
    CT
    construct
    @trusted
    (
    CT
    A...
    )
    (
    A a
    )
    if (
    is(CT == class) &&
    !isAbstractClass!CT
    )
  2. Object construct(TypeInfo_Class tic)
  3. ST* construct(A a)

Parameters

CT

A class type.

a
Type: A

Variadic parameters passed to the constructor.

Meta