First page Back Continue Last page Graphics
REFERENCE (cont.)
Adding const lets us use the value without allowing us to change the value. (read only)
vector<double> homework;
vector<double>& hw = homework;
const vector<double>& chw = hw;
All three refer to the SAME object. hw and homework allow read or write, chw allows only read.