This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/43813] [DR1234] vector<T*>(3, NULL) fails to compile
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 Mar 2012 13:06:40 +0000
- Subject: [Bug libstdc++/43813] [DR1234] vector<T*>(3, NULL) fails to compile
- Auto-submitted: auto-generated
- References: <bug-43813-4@http.gcc.gnu.org/bugzilla/>
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.