Function proxy

Mark constructed object to be provided through a proxy instead of directly doing so. Object will be proxied only in case when the storage where it is stored support storing of proxy object factories.

auto auto proxy(Z, T) (
  Z factory
);

Parameters

NameDescription
factory factory for constructed object

Returns

factory