Boost logo

Boost :

Subject: Re: [boost] [scope_exit] Boost.ScopeExit capturing 'this'
From: Maxim Yanchenko (maximyanchenko_at_[hidden])
Date: 2009-05-11 06:21:15


Hi Alex,

> I'm not an expert in a preprocessor but if we assume this(arg) macro is ok,
> then do(arg) must be ok as well:

It is not OK:

17.4.3.1.1
Nor shall such a translation unit define macros for names lexically identical to
keywords.


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