From Jason Turner

[bad.alloc]

Diff to HTML by rtfpessoa

tmp/tmpi1zl405h/{from.md → to.md} RENAMED
@@ -3,19 +3,19 @@
3
  ``` cpp
4
  namespace std {
5
  class bad_alloc : 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
  The class `bad_alloc` defines the type of objects thrown as exceptions
14
  by the implementation to report a failure to allocate storage.
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_alloc : 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
  The class `bad_alloc` defines the type of objects thrown as exceptions
14
  by the implementation to report a failure to allocate storage.
15
 
16
  ``` cpp
17
+ constexpr const char* what() const noexcept override;
18
  ```
19
 
20
  *Returns:* An *implementation-defined* NTBS.
21