[macstl-dev] IIf function -- opinions wanted
Holger Bettag
hobold at informatik.uni-bremen.de
Wed Mar 9 09:30:25 WST 2005
On Wed, 9 Mar 2005, Glen Low wrote:
> 1. iif -- inspired by Visual Basic, somewhat terse though.
> 2. if_then -- seen this in Boost Lambda. However so far nothing in the
> common interface has an underscore, so far.
> 3. if_then_else -- more explicit what it does
> 4. sel or select -- show its similarity to vec_sel, however may be
> confusing as vec_sel (and thus altivec::sel) has a different order of
> parameters.
> 5. cond or condition -- doesn't read off as easily
>
AFAIK 'select' is the usual name for this type of operation. A
'conditional move' would be something else, and 'if then else' changes
control flow rather than data flow.
Holger
More information about the macstl-dev
mailing list