Closed tocic closed 1 year ago
https://github.com/cschreib/snitch/blob/eaa322ce9e7bbfbd0b39aa529ea59de4acbd9c42/src/snitch.cpp#L61-L64
I think static_assert(not std::is_same_v<T, T>, "unsupported type"); was implied. Now it leads to UB.
static_assert(not std::is_same_v<T, T>, "unsupported type");
Good catch!
https://github.com/cschreib/snitch/blob/eaa322ce9e7bbfbd0b39aa529ea59de4acbd9c42/src/snitch.cpp#L61-L64
I think
static_assert(not std::is_same_v<T, T>, "unsupported type");
was implied. Now it leads to UB.