Comment faire un template de template
Bonjour,
Je découvre les templates et j'ai un petit soucis avec une classe template.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
template<typename T=double>
class CRankEx
{
public:
CRankEx();
~CRankEx(){};
protected:
typedef std::pair<_string, LPARAM> ItemPair;
typedef std::pair< template<T> ,ItemPair > MMapPair;
typedef std::multimap< template<T> , ItemPair> _mmap;
_mmap::const_iterator m_It;
_mmap m_mmap;
.....
}; |
La declaration de la multimap ne passe pas !
Pouvez-vous m'aider?
Merci