ApplyLeft

template ApplyLeft (
Args...
) {}

Members

Aliases

ApplyLeft
alias ApplyLeft(U...) = T!(Args, U)
Undocumented in source.

Parameters

T

A template.

Args

The first arguments for T.

Return Value

T with Args applied to it as its first arguments.

Examples

alias allAreIntegral = ApplyLeft!(allSatisfy, isIntegral);
static assert(allAreIntegral!(int, uint));
static assert(!allAreIntegral!(int, float, uint));

Meta