From Jason Turner

[util.smartptr.weak.bad]

Diff to HTML by rtfpessoa

tmp/tmpc6p4smot/{from.md → to.md} RENAMED
@@ -3,19 +3,19 @@
3
  ``` cpp
4
  namespace std {
5
  class bad_weak_ptr : public exception {
6
  public:
7
  // see [exception] for the specification of the special member functions
8
- const char* what() const noexcept override;
9
  };
10
  }
11
  ```
12
 
13
  An exception of type `bad_weak_ptr` is thrown by the `shared_ptr`
14
  constructor taking a `weak_ptr`.
15
 
16
  ``` cpp
17
- const char* what() const noexcept override;
18
  ```
19
 
20
  *Returns:* An *implementation-defined* NTBS.
21
 
 
3
  ``` cpp
4
  namespace std {
5
  class bad_weak_ptr : public exception {
6
  public:
7
  // see [exception] for the specification of the special member functions
8
+ constexpr const char* what() const noexcept override;
9
  };
10
  }
11
  ```
12
 
13
  An exception of type `bad_weak_ptr` is thrown by the `shared_ptr`
14
  constructor taking a `weak_ptr`.
15
 
16
  ``` cpp
17
+ constexpr const char* what() const noexcept override;
18
  ```
19
 
20
  *Returns:* An *implementation-defined* NTBS.
21