With which pointer values will the delete operators be eventually called in the ORBWordIndex destructor for example if one of the previous new operator calls would throw the exception “std::bad_alloc”?
Do you care for complete clean-up of involved system resources?
Would you like to wrap any pointer data members with the template class "std::unique_ptr"?
Update candidates: