[Bug libstdc++/43813] [DR1234] vector<T*>(3, NULL) fails to compile

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 4 13:07:00 GMT 2012


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

--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-04 13:06:40 UTC ---
Probably better, yes.  As aliases are cheaper to instantiate than templates it
shouldn't affect compilation time or binary size to repeat it in each
container, but defining it only once would be easier to maintain.



More information about the Gcc-bugs mailing list