Boost logo

Boost :

From: klaus triendl (klaus_at_[hidden])
Date: 2008-05-20 10:16:35


Alex MDC schrieb:
> You could try something like:
> if ((a_tribool == true) || *a_bool_pointer)
> to convert the left-hand side back to a native bool and get the
> short-circuiting.

This doesn't help either because operator== is overloaded and returns
again a tribool.

--
Klaus

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk