Non-Movable C++17 Unique Pointer Languages

Non-Movable C++17 Unique Pointer

I came across this answer Prevent moving of a unique_ptr C++11. However while trying it out on a compiler online, this works with C++11(std::move compiler error) but with C++17, I'm seeing that the std::move below is successful. Shouldn't the compiler throw an error on that line? Also if some semantics...
Read More