hasElaborateDestructor

True if S or any type directly embedded in the representation of S defines an elaborate destructor. Elaborate destructors are introduced by defining ~this() for a struct.

Classes and unions never have elaborate destructors, even though classes may define ~this().

version(StdDdoc)
template hasElaborateDestructor (
S
) {}

Meta