template class xor_list { public: class Cell { T mem; }; Cell* Xor(const Cell* a, const Cell* b); }; template typename xor_list::Cell* xor_list::Xor( const typename xor_list::Cell* a, const typename xor_list::Cell* b) { } int main() { xor_list test; test.Xor(0, 0);