Re: [orbitcpp-list] build issues, overloading new()
Status: Beta
Brought to you by:
philipd
From: Brian C. <bc...@th...> - 2002-02-26 00:07:51
|
Looks like overloading new() is the real problem. I get the same error with this code: template <class T, class CSEQTYPE> class UnboundedSequenceTmpl { public: void* operator new(int size); }; void* UnboundedSequenceTmpl<char*, int>::operator new(int size) { return 0; } Changing this to operator+ avoids the compile error. Dunno what's going on here. b.c. |