Boost logo

Boost :

Subject: Re: [boost] [local] this_ or _this?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-03 20:33:00


AMDG

On 04/03/2011 12:22 PM, Emil Dotchevski wrote:
> On Sun, Apr 3, 2011 at 11:13 AM, Lorenzo Caminiti<lorcaminiti_at_[hidden]> wrote:
>> Hello all,
>>
>> Boost.Local uses a special name `this_` to access the object `this`
>> bound from the enclosing scope. Shall this name be `this_` or `_this`
>> according to Boost practices?
>
> Names with leading underscore should be avoided, they may be used by
> the compiler for its own needs.
>

Names beginning with an underscore and a /capital/
letter are reserved for any use. Names beginning
with an underscore and a lower-case letter are
only reserved in the global namespace.

In Christ,
Steven Watanabe


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