cpp/error/rethrow if nested

If is not a polymorphic class type, or if std is an inaccessible or ambiguous base class of, there is no effect.

Otherwise, performs

Return value
(none)