A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/util.smartptr.weak.bad below:

[util.smartptr.weak.bad]

23 General utilities library [utilities] 23.11 Smart pointers [smartptr] 23.11.2 Shared-ownership pointers [util.smartptr] 23.11.2.1 Class bad_­weak_­ptr [util.smartptr.weak.bad]
namespace std {
  class bad_weak_ptr : public exception {
  public:
    bad_weak_ptr() noexcept;
  };
}
1 #

An exception of type bad_­weak_­ptr is thrown by the shared_­ptr constructor taking a weak_­ptr.

bad_weak_ptr() noexcept;

2 #

Postconditions: what() returns an implementation-defined ntbs.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4