Hacker News new | ask | show | jobs
by trimbo 3570 days ago
It looks like clang-tidy just committed a check for this case: https://reviews.llvm.org/D23353
1 comments

Not exactly this case. From the link:

  > No warnings are emitted for objects of type ``std::unique_ptr`` and
  > ``std::shared_ptr``, as they have defined move behavior.
Regardless, I am happy to see more static checking for C++, and am following the GSL/Core Guidelines closely. It's important work.