Hacker News new | ask | show | jobs
by detrino 4443 days ago
Use after move by itself is not undefined behaviour.
1 comments

It is for most of the important types that people move; e.g. unique_ptr (results in null dereference).