switchable

Wrap up a container into switchable container.

Wraps up a container to provide switching capabilites to it.

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

Parameters

container T

container to wrap up in switchable container

Return Value

Type: auto

SwitchableContainer!T

Meta