This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ member function .at() for arrays
- From: Florian Weimer <fweimer at redhat dot com>
- To: Robin Whittle <rw at firstpr dot com dot au>
- Cc: gcc at gcc dot gnu dot org, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 08 Mar 2013 10:12:53 +0100
- Subject: Re: g++ member function .at() for arrays
- References: <5139A463.4050706@firstpr.com.au> <5139AA48.7060903@firstpr.com.au>
- Reply-to: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
On 03/08/2013 10:07 AM, Robin Whittle wrote:
Further to my previous message, the start of my program is:
int aa1[4] = {0, 1, 2, 3};
This should work:
std::array<int, 4> aa1 = {0, 1, 2, 3};
Your question is more appropriate for the gcc-help mailing list. I'm
redirecting it there.
--
Florian Weimer / Red Hat Product Security Team