Init

Wraps the constructors of the class.

This template takes a single specialization of the ctor template (see ctor_wrap.d), which describes a constructor that the class supports. The default constructor need not be specified, and will always be available if the class supports it.

Supports default arguments, typesafe variadic arguments, and python's keyword arguments.

struct Init (
cps...
) {
enum bool needs_shim;
}

Bugs

This currently does not support having multiple constructors with the same number of arguments.

Meta