|
Boost : |
From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-03-14 00:19:46
on 3/13/00 12:23 PM, Gary Powell at Gary.Powell_at_[hidden] wrote:
> Sorry, can't overload ?:, in fact overloading new, delete, -> and ->* don't
> work either because they have a defined return type, which is not what you
> want in this case.
I meant a function, just as you have new_object (or whatever) as a standin
for new, you have select(cond, a, b) as a standin for ?:.
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk