ExistingInstanceProvider.withProvided

Produce the value. A pointer to the value is passed to a delegate.

Notes: The pointer may no longer be valid after dg returns, so the value pointed to should be copied to persist it.

class ExistingInstanceProvider(I)
@safe
void
withProvided
(,
void delegate
(
void*
)
@safe
dg
)
if (
is(I == class)
)

Meta