------- Comment #2 from pcarlini at suse dot de 2008-03-06 16:27 ------- Frankly, I'm not 100% sure we want an error here: I mean, we have a "Requires" violation in the case at issue, which, in general, in my reading of the standard, certainly doesn't mean the code must not compile, means something like "user, anything can happen, you are on your own". Certainly it would be easy to add in the TR1 version, an __enable_if, but I would be more willing to do that change to the TR1 version in case eventually the C++0x version will get a concept enforcing equality of the sizes. Doug, is that in the plan?
-- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doug dot gregor at gmail dot | |com, pcarlini at suse dot de Component|c++ |libstdc++ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35480