cpp/memory/bad weak ptr

is the type of the object thrown as exceptions by the constructors of std that take std as the argument, when the std refers to an already deleted object.