Actually that depends on the implementation of "Foo". After all "foo" has not been destroyed yet.
Edit: An instance of std::unique_ptr for example points to nullptr after having been moved to another instance (C++14 Standard ยง20.8.1p4.2).
Actually that depends on the implementation of "Foo". After all "foo" has not been destroyed yet.
Edit: An instance of std::unique_ptr for example points to nullptr after having been moved to another instance (C++14 Standard ยง20.8.1p4.2).