You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type returned by begin and end depends on the const-ness of the object calling it. If the calling object is const, then begin/end will return a const_iterator. If the calling object is not const, then begin/end will return a (non-const) iterator.
(Your answer for exercise 9.10 reflects this correctly, but it is not made clear in the answer for this exercise.)
The text was updated successfully, but these errors were encountered:
The type returned by begin and end depends on the const-ness of the object calling it. If the calling object is const, then begin/end will return a const_iterator. If the calling object is not const, then begin/end will return a (non-const) iterator.
(Your answer for exercise 9.10 reflects this correctly, but it is not made clear in the answer for this exercise.)
The text was updated successfully, but these errors were encountered: