[patch] Preprocessorised tr1::tuple

Benjamin Kosnik bkoz@redhat.com
Mon Feb 28 19:37:00 GMT 2005


> Please, please, let's resist the temptation.  Ideally, we should reduce the
> number of macro usage close to zero. 

Yes, of course. I was just playing devil's advocate here. I think, from
looking at the code for tuple and tr1::function that additional template
magic is going to have to be invented to get to this goal. Our choices
now are to either repeat a lot of boilerplate template code or
completely abuse the pre-processor. There's got to be something better,
long term. 

That's all.

-benjamin



More information about the Libstdc++ mailing list