[cfe-dev] C++ Constructors & Destructors in the AST
Anders Carlsson
andersca at mac.com
Sun May 3 10:58:59 PDT 2009
3 maj 2009 kl. 10.07 skrev Sebastian Redl:
>
> On Mon, 27 Apr 2009 14:40:19 -0700, Anders Carlsson <andersca at me.com>
> wrote:
>>
>> Here's what I've come up with. A FullExprArg right now is a very
>> simple wrapper around ExprArg:
>>
>
> Actually, you've made it a wrapper around ExprArg&. Why?
Because that was the simplest thing to do :)
The main reason was that I want to forbid construction of a
FullExprArg everywhere except from within the Action class (not its
subclasses). Maybe there's a simpler and more clever way to do it.
Anders
More information about the cfe-dev
mailing list