kastiglione added a comment.

In D106171#2910693 <https://reviews.llvm.org/D106171#2910693>, @JDevlieghere 
wrote:

> IIRC the fact that the shared pointer is null is implementation defined and 
> the standard just says that a moved-from object is in an undefined state.

According to cppreference, the move constructor says:

> After the construction, `*this` contains a copy of the previous state of `r`, 
> **`r` is empty and its stored pointer is null**.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106171/new/

https://reviews.llvm.org/D106171

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to