Monthly Archives: March 2005

Returning CORBA object references

The CORBA object semantics are really frustrating at times. They behave close enough to how C++ does things to make them familiar, but they differ enough to lull you into a false sense of familiarity. Your first attempt to return

Tagged with: , ,
Posted in Uncategorized

When a C++ destructor is not called

Suppose you’re following the “resource acquisition is initialization” technique where you allocate resources as part of construction. You might write classes like: The resource is allocated in the constructor when the object is instantiated and released in the destructor when

Tagged with: , ,
Posted in Uncategorized

Reallocation failure in ySpace()

The Solaris compiler really has some useless error messages. I get “Reallocation failure in ySpace()” occasionally when compiling under SunOS with the forte compiler. The compilation fails and I’m left scratching my head. This error message is really awful. The

Tagged with: ,
Posted in Uncategorized
Design a site like this with WordPress.com
Get started