Function parent

Instantiates a component using as basis some third party factory.

auto auto parent(Z, T, X, W) (
  Z factory,
  X delegated
);

Parameters

NameDescription
T the type of component that is to be configured
factory factory that uses the parent factory for component instantiation
delegated the factory used by factory to instantiate an object.