eyalroz / cuda-kat

CUDA kernel author's tools
BSD 3-Clause "New" or "Revised" License
106 stars 8 forks source link

Trouble with swappability of non-swappable and/or non-movable types, in C++17 #87

Open eyalroz opened 3 years ago

eyalroz commented 3 years ago

When compiling with C++17, static assertions regarding swappability with non-swappable and with non-immutable types are applied; and they fail, or rather - one fails and the other doesn't, and it depends on how exactly I tweak the swap-related code in array.hpp and elsewhere.

I haven't figured out exactly what I'm supposed to do with this.... :-(

eyalroz commented 3 years ago

See also #84 .