ClassProvider.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 ClassProvider(I, T : I)
@trusted
void
withProvided
(,
void delegate
(
void*
)
@safe
dg
)
if (
is(T == class)
)

Meta