Skip to content
Snippets Groups Projects
  1. Nov 20, 2024
    • Carsten Gräser's avatar
      [bugfix] Avoid using non-official implementation details of DUNE_THROW · c644af08
      Carsten Gräser authored
      When throwing a `MatrixBlockError` the `DUNE_THROW` macro was
      abused to also set the data members of `MatrixBlockError` by
      referring e.g. to the local (in macro) variable name `th__ex`.
      I consider this a bug, since these are undocumented implementation
      details. Furthermore their use prohibits any change to `DUNE_THROW`
      e.g. to make it `constexpr` friendly.
      c644af08
  2. Nov 20, 2023
Loading