[Effective-cpp] Item Assignments for Effective STl

Tarjei Knapstad tarjeik at chemcon.no
Tue Jun 17 05:24:15 EDT 2003


On Mon, 2003-06-16 at 18:08, Terje Slettebø wrote:
> >From: "Paul Grenyer" <Paul.Grenyer at communisis-dm.co.uk>
> 
> > > I'll be on holiday (at long last) for the better part of July
> > > and before
> > > that I've got heaps of work to finish off, so if any of the August
> > > people would be willing to make a swap that would be great.
> >
> > That's just not good enough! Leave you job! Cancel you holiday! ;-)
> >
> > Seriously though, would someone like to swap with Tarjei? His item is
> number
> > 6 "Be alert for C++'s most vexing parse"?
> 
> Sure, I love that one. :)
> 
> I got bitten by it again, yesterday, so I have a thing or two to say about
> it... :)
> 
Thanks a lot Terje!

On a related note I usually get "bitten" by forgetting to add extra
parens when using templates with multiple arguments in macro calls :)

MY_MACRO(MyTemplateFunc<int, float>(someObj));

--
Tarjei





More information about the Effective-cpp mailing list