This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: tr1::array initialization
- From: Tom Browder <tom dot browder at gmail dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Douglas Gregor <dgregor at osl dot iu dot edu>, libstdc++ at gcc dot gnu dot org
- Date: Tue, 10 Mar 2009 06:25:24 -0500
- Subject: Re: tr1::array initialization
- References: <8bc817ee0805030947m3af7fc66vdbee4753fd3bb0cc@mail.gmail.com> <20080506101954.72939a09@wabash.artheist.org> <45706527-0ED7-4A30-A960-9E0FB680ACFD@osl.iu.edu> <20080513133507.45b6cde7@wabash.artheist.org> <3DF2EA90-49F5-417F-ACBF-A7227C1AE502@osl.iu.edu> <20080515122822.14d1032a@wabash.artheist.org>
On Thu, May 15, 2008 at 12:28 PM, Benjamin Kosnik <bkoz@redhat.com> wrote:
>
>> Will you go ahead and file that issue?
>
> Yes.
Benjamin, did this ever get a number of some kind?
The reason I ask is I just saw on the com.lang.c++.moderated list that
one can initialize a vector like so (with C++0x):
std::vector<int> a = { 1, 4, 500 };
Which is exactly what I've wanted to do!
Thanks,
-Tom