I would like to extend an existing abstract base class with a function which is going to be templated and have as input argument an iterator to a template.
Lets consider the following example:
class base
{
public:
[...]
template < int nT, typename T>
void do_something( A<nT, T>::iterator arg)
{
}
};
I have seen this example, but is not quite like.
edit:
class base
{
public:
[...]
template < int nT, typename T>
void do_something( typename A<nT, T>::iterator arg)
{
}
};
The code compiles, but when I call the function I get the error
:-1: error: symbol(s) not found for architecture x86_64