Hi,
I'm a little new to stl so bear with me...Say I have the following
code:
vector<intvec;
int i = 3;
vec.push_back(i );
i=4;
cout<<vec.at(0) <<endl;
Looking at the signature of push_back, it seems to take a reference:
void push_back( const TYPE& val );
I wouldve thought that means the int i pass to the vector isn't
copied, but a...