Le 2011-07-05 à 18:52, Walter Bright a écrit :

> I've always thought it should be done with a template:
> 
>   typedef ArrayOf<Expression> Expressions;

Well, now that I know I can change it to a template.

When I asked a mid-June on this list, I did not get an answer. I decided to go 
take the most conservative route and not use any C++ feature not already in use 
elsewhere in the code.

If you say it's okay to use templates then I'll make the change, it's no big 
deal. I agree it'd be a little cleaner that way, although with typedefs it 
won't change things much.

-- 
Michel Fortin
[email protected]
http://michelf.com/



_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to