Both gcc and clang accept [[maybe_unused]] on an identifier label. This seems to be a small extension that improves consistency of the language; EWG is asked to approve. See CWG2733 for details including CWG-approved wording.
Both gcc and clang accept [[maybe_unused]] on an identifier label.
This seems to be a small extension that improves consistency of the language; EWG is asked to approve.
See CWG2733 for details including CWG-approved wording.