1>d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(906) : error C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition to an existing declaration1> d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(891) : see declaration of 'QMultiMap<Key,T>::replace'1> definition1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key &,const T &)'1> existing declarations1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key &,const T &)'1>d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(910) : error C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition to an existing declaration1> d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(892) : see declaration of 'QMultiMap<Key,T>::insert'1> definition1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key &,const T &)'1> existing declarations1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key &,const T &)'1>mainWidget.cpp1>d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qhash.h(864) : error C2244: 'QMultiHash<Key,T>::replace' : unable to match function definition to an existing declaration1> d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qhash.h(849) : see declaration of 'QMultiHash<Key,T>::replace'1> definition1> 'QHash<Key,T>::iterator QMultiHash<Key,T>::replace(const Key &,const T &)'1> existing declarations1> 'QHash<Key,T>::iterator QMultiHash<Key,T>::replace(const Key &,const T &)'1>d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qhash.h(868) : error C2244: 'QMultiHash<Key,T>::insert' : unable to match function definition to an existing declaration1> d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qhash.h(850) : see declaration of 'QMultiHash<Key,T>::insert'1> definition1> 'QHash<Key,T>::iterator QMultiHash<Key,T>::insert(const Key &,const T &)'1> existing declarations1> 'QHash<Key,T>::iterator QMultiHash<Key,T>::insert(const Key &,const T &)'1>d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(906) : error C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition to an existing declaration1> d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(891) : see declaration of 'QMultiMap<Key,T>::replace'1> definition1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key &,const T &)'1> existing declarations1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key &,const T &)'1>d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(910) : error C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition to an existing declaration1> d:\qt\4.2.0\include\qtcore\../../src/corelib/tools/qmap.h(892) : see declaration of 'QMultiMap<Key,T>::insert'1> definition1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key &,const T &)'1> existing declarations1> 'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key &,const T &)'
template <class T>class A{public: typedef int N_A;};template <class T>class B : public A<T>{public: typename A<T>::N_A test();};template <class T>typename A<T>::N_A B<T>::test() { return 0;}