make doxygen more robust to when constructors and descructors are not in the class decl

Requested by @crbates, but anyone can review.