Details
Description
The __has_trivial_destructor() support routine returns false for references. The latest draft specifically says...
T is a trivial type (3.9) or a reference type or a class type with a trivial destructor (12.4) or an array of such a class type.
We should be able to work around this issue by explicitly checking for references.