Skip to content

Be more conservative about is_trivial support

Kenneth Moreland requested to merge kmorel/vtk-m:safer-is-trivial into master

std::is_trivial is part of the C++14 specification. However, we have encountered multiple compilers that purport to implement C++14 but do not implement std::is_trivial and the like checks correctly.

To avoid such issues, only use std::is_trivial on compilers that we have tested to support it.

Merge request reports