b1__16.cxx

We use cookies. Read the Privacy and Cookie Policy

b1__16.cxx

#include ‹vector.hxx›

declare(vector,int);

implement(vector,int);

main()

{

 vector(int) vv(10);

 vv[2] = 3;

 vv[10] = 4; // range error

}