wrap

template wrap(Targets...)
version(StdDdoc)
wrap
(
Source
)
(
inout Source src
)
if (
implementsInterface!(Source, Targets)
)
if (
Targets.length >= 1 &&
allSatisfy!(isInterface, Targets)
)

Members

Functions

wrap
auto wrap(Source src)

Wrap src in an anonymous class implementing Targets.

Suggestion Box / Bug Report