hi all~
i read this in a book which showed me an example with const reference in template:
it didnt mention the advantages using const reference here, any ideas ?Code:template <class T> T Abc(const T& a, const T& b, const T& c) { return a + b + b * c + (a + b - c) / (a + b) + 4; }
thanx~