c++ Programming Glossary: ibase
Using shared_ptr in dll-interfaces http://stackoverflow.com/questions/1605640/using-shared-ptr-in-dll-interfaces dll interfaces I have an abstract class in my dll. class IBase protected virtual ~IBase 0 public virtual void f 0 I want to.. abstract class in my dll. class IBase protected virtual ~IBase 0 public virtual void f 0 I want to get IBase in my exe file.. virtual ~IBase 0 public virtual void f 0 I want to get IBase in my exe file which loads dll. First way is to create following..
operator new overloading and alignment http://stackoverflow.com/questions/2366879/operator-new-overloading-and-alignment hit a problem with alignment. Basically I have a class IBase which provides operator new and delete in all required variants... delete in all required variants. All classes derive from IBase and hence also use the custom allocators. The problem I'm facing.. to 8 byte boundaries only by default so now the code in IBase operator new returns an unusable piece of memory. How is this..
|