1 // A class with a private assignment operator.
2 // This is rare, but sometimes used with singletons and
3 // objects that have complicated state.
13 Foo &operator=(const Foo &f) {
24 class Bar : protected Foo
30 #pragma SWIG nowarn=SWIGWARN_IGNORE_OPERATOR_NEW // operator new
35 void *operator new(size_t l) { return malloc(sizeof(TROOT)); }
47 TROOT(const char *name, const char *title, void *initfunc = 0)
52 class A : protected TROOT
60 // This case only works in python