
22 Sep
2010
22 Sep
'10
8:34 p.m.
On 09/22/10 15:03, Mathias Gaunard wrote: [snip]
A first try is to ask GCC if you break the strict aliasing rules. Compile some test code with -O3 -Wstrict-aliasing and see if it says something.
It's doesn't complain, as shown in attachment. Of course I realize that just means gcc didn't detect a violation of the rule, not that there actually wasn't any violation ;) The code tested should be: https://svn.boost.org/trac/boost/browser/sandbox/variadic_templates/libs/com...