http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-08-25 20:38:51 UTC --- I see. Thanks for the clang data point, anyway! Now we have to figure out which compiler is right and then decide what we want to do for GCC and its library... I suspect we want to avoid those inline friend in any case, we can have equally efficient code which definitely works with 4.7.x too (even if it's a bit more verbose)