CPP11 1.7 RTF Avatar
  1. OMG Issue

CPP1117 — Add [[nodiscard]] to all member accessors, noexcept to all move/swap

  • Key: CPP1117-43
  • Status: open  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    Add [[nodiscard]] to all generated member accessors to let the compiler warn when somewhere a member is accessed but not used

    All move constructors/assign operators and swap operations should be noexcept

  • Reported: CPP11 1.7 — Wed, 28 Jan 2026 10:33 GMT
  • Updated: Wed, 28 Jan 2026 14:32 GMT