typed

Wrap up a container into a type based container.

Wraps up container into a container that adds capability to search for a component based on it's type, or implemented hierarchy of classes and interfaces.

@safe
typed
(
T : Container
)
(
auto ref T container
)

Parameters

container T

container to wrap up in typed container

Return Value

Type: auto

TypeBasedContainer!T

Meta