
9 Aug
2006
9 Aug
'06
1:25 p.m.
Sylvain Pion <Sylvain.Pion <at> sophia.inria.fr> writes:
It works, but it's not efficient. It is even incredibly worse that doing the assignments by hand (boost 1.33.1 is better than 1.32 though). See my attached test program. Here is what I get (with g++ 4.1):
It would be nice to see what other compiler give back. Also, do you have full optimization turned on? That said, list_of() is never going to compete with direct aggregrate initialization. -Thorsten