Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-2676

Rule S6000: "std::visit" should be used

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.16
    • Component/s: C++, Rules
    • Labels:

      Description

      Recommend std::visit over complicated switch over std::variant

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              arseniy.zaostrovnykh Arseniy Zaostrovnykh
              Reporter:
              abbas.sabra Abbas Sabra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: