
23 Nov
2011
23 Nov
'11
4:26 p.m.
It is very difficult to realize?
#include
container;
int main() { container c; c.insert(c.end(), item(2)); c.insert(c.end(), item(1)); c.insert(c.end(), item(3)); c.insert(c.end(), item(4)); for (container::const_iterator i = c.begin(); i != c.end(); ++i) std::cout << i->i_ << std::endl; }