3 ms·
Well the problem I had was that I apparently didn't forbid it from using the move constructor, after I changed that it correctly failed to compile. So in my ca
by contravariant 5y ago
Well the problem I had was that I apparently didn't forbid it from using the move constructor, after I changed that it correctly failed to compile.
So in my case the problem was very much that it took the liberty of doing something I wasn't expecting it to.