[prev in list] [next in list] [prev in thread] [next in thread]
List: ms-atl
Subject: OT: STL
From: Phil Beck <phil () EF-X ! COM>
Date: 2001-05-17 8:25:28
[Download RAW message or body]
Just a quickie.
When iterating through a container such as :-
std::list<mytype>
why do I sometimes need a const_iterator instead of just an iterator ?
Using an iterator sometimes give me the compile error :-
binary '=' no operator defined which takes a right hand operand of type
std::list<class mytype,class std::allocator<class mytype> >::iterator
Phil.
----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:ATL-signoff-request@DISCUSS.MICROSOFT.COM
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic