http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51558
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely.gcc at gmail dot | |com --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-15 01:44:34 UTC --- Evidently the patchlet has not been tested ;) The library doesn't even build because we have code in src/ specializing the operator which would have to be adjusted. All in all, I guess what Jon suggested should not lead to worse error messages, and seems very easily doable and safe. Jon, would you like to suggest the text of the static_assert?