All pastes #975987 Raw Edit

Something

public text v1 · immutable
·published 2008-04-07 21:27 UTC
rendered paste body
#include <iostream>
#include <time.h>

using std::cout;
using std::endl;

class screamer
{
  public:
    screamer()
    {
      cout << "creating a" << endl;
    }

    void foo(screamer a)
    {
      cout << "foo" << endl;
    }
};


int main()
{
  screamer a, b;
  a.foo(b);

  return 0;
}