Subject: Re: [boost] [offtopic] C++11 useful trick
From: Roland Bock (rbock_at_[hidden])
Date: 2012-07-03 12:22:11
On 2012-07-03 16:52, Mathias Gaunard wrote:
> Given your test, I suggest you benchmark the preprocessed output
> rather than the source directly.
OK, created preprocessed versions with clang -E and measured again, but
the results are similarly close (and way too much under the influence of
the sheer amount of bytes that need to be processed).
I came up with a new test, see attachments:
Interestingly enough, Eric's version takes a bit longer to compile on my
clang version 3.2 (trunk 155315)
And clang crashes when I add another row of parameters in Eric's
version. No problems with my version...
Can somebody try with a different compiler? Or is this test complete
nonsense for some reason?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk