G
Gernot Frisch
Hi,
what doi I get when I advance too much?
std::list<int> L;
L.push_back(4);
std::list<int>::iterator it = L.begin;
std::advance(it, 3);
for(; it!=L.end(); ++it)
{
// do I get here?!
}
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
what doi I get when I advance too much?
std::list<int> L;
L.push_back(4);
std::list<int>::iterator it = L.begin;
std::advance(it, 3);
for(; it!=L.end(); ++it)
{
// do I get here?!
}
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com