g++ member function .at() for arrays

2013-03-08 Thread Robin Whittle
I am a newbie to this list. Thanks for GCC, g++ the C++ standard library and GDB! Apologies in advance if I have missed a web page where this question is answered. Perhaps this question belongs on the libstdc++ list. With g++ 4:4.7.2-1 and libstdc++6 4.7.2-4, installed on 64 bit Debian, using t

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

2013-03-08 Thread Robin Whittle
Further to my previous message, the start of my program is: #include #include #include #include #include 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 vv1{50, 51, 52, 53}; deque dd1{100, 1