The Easiest Way to Save and Share Code Snippets on the web

Untitled

cpp

last edit: Feb, 16th 2009 | jump to bottom

template <class T_>
class SimpleTemplated
{
public:
  T_ i;
};
 
template <class T_>
class Container
{
public:
  typedef SimpleTemplated<T_> Composite;
  typedef std::list<Composite> Collection;
  Collection l;
  void run()
  {
    Collection::iterator iter;
  }
};
 
172 views