nxt.class_range

Undocumented in source.

Members

Functions

upcastElementsTo
inout(U)[] upcastElementsTo(inout(T)[] x)
auto upcastElementsTo(inout(R) x)

Upcast all elements in x of type T to the type U, where U is a superclass of T.

Templates

castFilter
template castFilter(Subclass)

Variant of std.algorithm.iteration : that filters out all elements of range that are instances of Subclass.

Meta