[Bug c++/40192] [4.4/4.5 Regression] Unable to use std::vector with typedef'd array types

jeff at schwabcenter dot com gcc-bugzilla@gcc.gnu.org
Tue May 19 18:07:00 GMT 2009



------- Comment #12 from jeff at schwabcenter dot com  2009-05-19 18:07 -------
What he said.  I'm perusing your patch, and I appreciate that you removed an
artificial restriction.  The right place to catch this is up front, in a
concept check, rather than in _Destroy; since I'm not about to add the check
myself, I'm hardly in a position to criticize.  The diagnostic did have the
nice property of catching a real, semantic error, though, and it seems a shame
to let a known error go unreported.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40192



More information about the Gcc-bugs mailing list