Hi,
I have a problem with templated member function ( partial? ) specialization.
.h:
.cpp :Code:class a : public b< int >
{
public:
template< class DATA >
void foo( int id,DATA pack )
{
...
}
};
With this I get the multiple definition of ... error.Code:template<>
void a::foo< int >( int id,int pack )
{
...
}
Anyone knows how to implement this correctly?
Regards,
Domen