O
Olumide
Hi -
I've got a static class member function
MyClass{
public:
template <typename T> void VTK_Writer::converter( list<T > &lst,
vector<T > &vec )
{
// does weird and wonderful stuff
}
It compiles well. However, when I try to call/use this function as
such,
main( )
{
list<int > A;
vector<int > B;
MyClass::converter( A, B ); // E R R O R
}
The Microsoft C++ compiler "rewards" me with the linker error LNK2019.
What am I doing wrong?
Thanks,
- Olumide
PS: is it a static class member function template OR a static class
member template function? ;-)
I've got a static class member function
MyClass{
public:
};template said:& );
template <typename T> void VTK_Writer::converter( list<T > &lst,
vector<T > &vec )
{
// does weird and wonderful stuff
}
It compiles well. However, when I try to call/use this function as
such,
main( )
{
list<int > A;
vector<int > B;
MyClass::converter( A, B ); // E R R O R
}
The Microsoft C++ compiler "rewards" me with the linker error LNK2019.
What am I doing wrong?
Thanks,
- Olumide
PS: is it a static class member function template OR a static class
member template function? ;-)