Skip to content

from

The from is a prepositional keyword used in conjunction with the new keyword, and is placed before allocator instance identifiers.

Syntax

new T from Allocator;
new T[N] from Allocator;
new<AddrAlign> T from Allocator;
new<AddrAlign> T[N] from Allocator;
new T with {VaArgs} from Allocator;
new T[N] with {VaArgs} from Allocator;
new<AddrAlign> T with {VaArgs} from Allocator;
new<AddrAlign> T[N] with {VaArgs} from Allocator;