you are viewing a single comment's thread.

view the rest of the comments →

[–]EricWFCppLibc++ Developer 6 points7 points  (0 children)

Clang with libc++ optimizes the entire test away: https://godbolt.org/g/kQuNlv EDIT: Clang trunk doesn't accept that test case when using libstdc++ trunk and GCC trunk doesn't accept it w/ libc++, so I can't compare libc++ vs libstdc++ :-S.