From Jason Turner

[bad.cast]

Diff to HTML by rtfpessoa

tmp/tmpb44o9owy/{from.md → to.md} RENAMED
@@ -3,20 +3,20 @@
3
  ``` cpp
4
  namespace std {
5
  class bad_cast : 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_cast` defines the type of objects thrown as exceptions by
14
  the implementation to report the execution of an invalid `dynamic_cast`
15
  expression [[expr.dynamic.cast]].
16
 
17
  ``` cpp
18
- const char* what() const noexcept override;
19
  ```
20
 
21
  *Returns:* An *implementation-defined* NTBS.
22
 
 
3
  ``` cpp
4
  namespace std {
5
  class bad_cast : 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_cast` defines the type of objects thrown as exceptions by
14
  the implementation to report the execution of an invalid `dynamic_cast`
15
  expression [[expr.dynamic.cast]].
16
 
17
  ``` cpp
18
+ constexpr const char* what() const noexcept override;
19
  ```
20
 
21
  *Returns:* An *implementation-defined* NTBS.
22