Provider

Base class for non-reference providers.

Result_ the type of the object to be provided.

Params_ the type of provider parameters.

Members

Functions

call
Result call(S s)

Call it with a structure or class as the argument (expanding its members into arguments in order).

delegate_
Result delegate_(Params params)

The abstract virtual function used to create the provided object.

opCall
Result opCall(Params params)

Call the provider.

provider
DelegateType provider()

Returns delegate_ as a delegate.

Meta