select¶
Description¶
Signature¶
T select<T>( bool condition, T ifTrue, T ifFalse); vector<T, N> select<T, int N>( vector<bool, N> condition, vector<T, N> ifTrue, vector<T, N> ifFalse); matrix<T, N, M> select<T, int N, int M>( matrix<bool, N, M> condition, matrix<T, N, M> ifTrue, matrix<T, N, M> ifFalse); Optional<T> select<T>( bool condition, __none_t ifTrue, T ifFalse); Optional<T> select<T>( bool condition, T ifTrue, __none_t ifFalse);