toBooleanVector

Creates an appropriate vector type for tv that will hold one boolean result for each element of the vector type. The result of vector comparisons is a single or doubleword mask of all 1s (comparison true) or all 0s (comparison false). This SIMD mask type does not have an equivalent D type, however its closest equivalent would be an integer vector of the same unit size and length.

toBooleanVector

Parameters

tv TypeVector

The TypeVector to build a vector from.

Return Value

A vector type suitable for the result of a vector comparison operation.

Meta