operator[] needed to be const

[SVN r8463]
This commit is contained in:
Jeremy Siek
2000-12-15 19:31:16 +00:00
parent 8cf1b8acb2
commit e6191bc913

View File

@ -199,7 +199,7 @@ public:
# pragma warning(pop)
#endif
reference operator[](difference_type n)
reference operator[](difference_type n) const
{ return *(*this + n); }
Self& operator++() {