Boost logo

Boost :

From: Maciej Sobczak (prog_at_[hidden])
Date: 2008-07-10 07:43:44


Felipe Magno de Almeida wrote:

> Do you find confusing to use a pointer to a bool too?

Yes. That's why I stick to the following convention:

if (pointer != NULL) ...

instead of:

if (pointer) ...

> But this is only personal taste IMHO.

Yes, although a sum of such tastes often leads to a coding standard,
where they are no longer personal.

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

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