Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-17 14:20:53


----- Original Message -----
From: <williamkempf_at_[hidden]>
>
> That's precisely why I thought I'd entertain comments. There are
> five styles I've seen used, each rubs me wrong for different reasons:

There's another wart that's more reliable than any of these five:

   "this->"

In templates you sometimes need to use this one to ensure that you get the
member, and not some other name from namespace scope. Really ;-(

-Dave


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