This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ member function .at() for arrays
- From: Robin Whittle <rw at firstpr dot com dot au>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 08 Mar 2013 20:07:20 +1100
- Subject: Re: g++ member function .at() for arrays
- References: <5139A463.4050706@firstpr.com.au>
Further to my previous message, the start of my program is:
#include <stdio.h>
#include <iostream>
#include <vector>
#include <deque>
#include <array>
using std::vector;
using std::deque;
using std::cout;
using std::endl;
int main(int argc, char **argv)
{
int aa1[4] = {0, 1, 2, 3};
vector<int> vv1{50, 51, 52, 53};
deque<int> dd1{100, 101, 102, 103};
- Robin