View difference between Paste ID: g6ateE73 and xzw7s0qt
SHOW: | | - or go back to the newest paste.
1
template < typename T >
2-
class List
2+
class LinkedList
3
{
4
	public:
5-
		T myElement;
5+
		LinkedList(); // Default
6-
};
6+
		LinkedList( const LinkedList< T >& list ); // Copy
7
		LinkedList( LinkedList< T >&& list ); // Move (C++0x)
8
		~LinkedList(); // Deconstruct
9
		
10
		// ...
11
};
12
13
LinkedList< int > intList;
14
LinkedList< char > charList;
15
// ...