I remember reading somewhere that
T &operator[](size_t)
would have teh same checks as teh .at() version and throw an out_of_range exception.
At least they were considering, which would make it more safe, but I also dislike it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement