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.

Members

Aliases

CtorParams
alias CtorParams = cps
Undocumented in source.

Static functions

call
void call()
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

Inner
template Inner(T)
Undocumented in source.
shim
template shim(size_t i, T)
Undocumented in source.

Variables

needs_shim
enum bool needs_shim;
Undocumented in source.

Parameters

cps

Parameter list of the constructor to be wrapped.

Bugs

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

Meta