Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61536

Use [[nodiscard]] to get warnings from compiler for unused return values

    XMLWordPrintable

Details

    • 0

    Description

      By adding {{ [[nodiscard]] }} to enums, classes and methods we'll "force" the user to check return values (or explicitly state to ignore).

      Attachments

        For Gerrit Dashboard: MB-61536
        # Subject Branch Project Status CR V

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty