// Copyright 2001 Karl Einar Nelson #include #include #ifdef SIGC_CXX_NAMESPACES using namespace std; using namespace SigC; #endif int result=1; void foo() { cout << "foo()" <>test 1"< s=hide(slot(&foo)); s(1,1); cout << ">>test 2"<(slot(&foo2)); s(1,1); cout << ">>end"<