• Kenneth Moreland's avatar
    Avoid is_trivially_copyable on VariantUnion · cad5dc7b
    Kenneth Moreland authored
    For some reason some versions of the CUDA compiler would return true for
    `is_trivially_copyable` on a `VariantUnion` even when the types of the
    union caused the copy constructor to get deleted.
    Solve the problem by using `AllTriviallyCopyable` instead of directly
    caling `is_trivially_copyable` on the union.
VariantImpl.h 15.5 KB