This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++ member function .at() for arrays


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]