Enum member isComponentStoringPolicy

Check if T implements component storing interface.

enum isComponentStoringPolicy(T, X) = is(T == struct) && is(typeof(&T.store!X) : void function(F, Locator!(), S), F : Factory!Z, Z, S : Storage!(Factory!Z, string));

The responsibility of component storing policy is to store component's factory into appropiate storage, by apropiate identity, using information about type T.

Parameters

NameDescription
T type that is tested for interface compliance
X component type against which T's templates are tested to comply to interface

Returns

true if it implements the interface, false otherwise