ich glaube ich stehe gerade nur aufm Schlauch aber mir will der Fehler nicht auffallen. Gegeben sei:
Code: Alles auswählen
// Header .h
template<typename A>
class Foo {
public:
template<typename B>
Foo(const Foo<B>&);
}
#include "Foo.ipp"
// Implementierung .ipp
template<typename A, typename B>
Foo<A>::Foo(const Foo<B>&) {
}
Mfg RazorX
Edit: Compiler ist der MSVC++2012