[omniORB] How can be interface destructors compiled to be virtual

Duncan Grisby duncan at grisby.org
Fri Apr 18 14:06:33 BST 2008


On Sunday 13 April, "Luo Yongheng" wrote:

> I'm not familiar with omniIDL compiler. Is there any option with which
> compiler can make all sequence classes' destructors virtual? I found
> destructors for all sequences and their derived classes are
> non-virtual. I have many many sequence classes in my application.
> Non-virtual destructor makes me hard to implement some
> functionalities.

Can you explain what exactly you're trying to do?  Why do you want to
derive classes from the sequence classes?

The sequence base classes are defined in
include/omniORB4/seqTemplatedecls.h, not in code generated by omniidl.

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list