MakerInitializingClassMembers

Make a static c'tor that creates an instance with all class members initialized.

mixin template MakerInitializingClassMembers (
T
alias postInit = function void(
ref T
)
) {}

Parameters

T

type to construct an instance of

postInit

call the function with the initialized instance.

Meta