Function switchable

Wrap up a container into switchable container.

auto auto switchable(T) (
  auto ref T container
);

Wraps up a container to provide switching capabilites to it.

Returns

SwitchableContainer!T