Const before or after the type?

Viewed 4649

I have the following code:

string const& operator[] (size_t index) const { return elems[index]; }

should it not be:

const string&

?

3 Answers
Related