Blitz logo

Blitz Support :

From: Derrick Bass (derrick_at_[hidden])
Date: 2004-09-11 01:06:02


Julian...

I was recently introduced to the Boost "enable_if" library and when I
read this message it occurred to me that the library would provide an
easy solution to this problem. Enclosed are some diffs that will allow
ternary functions with scalar arguments..... The method could also
simplify the binary functions with scalar arguments. I did not try to
add this code to the functorExpr class, but that should be just as
straightforward (though some of the code I added to the beginning of
newet-macros.h might in that case best be abstracted into another
header).

What do you think?