template <typename T>
class School{
public:
class Student{
public:
Student & operator++();
Student operator++(int);
}
}
Assuming I have this in my header file, how would I use the scope resolution operator to for an hpp file? I have tried this but the result were an expected initializer before & token
template <class T>
T School<T> :: Student& Student:: operator++()
{
}
Aucun commentaire:
Enregistrer un commentaire