All pastes #510360 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-25 21:27 UTC
rendered paste body
template<class T>
class xor_list
{
 public:
  class Cell
  {
    T mem;
  };

  Cell* Xor(const Cell* a, const Cell* b);
};

template<class T>
typename xor_list<T>::Cell* xor_list<T>::Xor(
    const typename xor_list<T>::Cell* a, const typename xor_list<T>::Cell* b)
{

}


int main()
{
  xor_list<int> test;
  test.Xor(0, 0);