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

Sema: IllegalStateException: Several good alternatives

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10
    • Fix Version/s: 6.0
    • Component/s: Semantic Analysis
    • Labels:
      None

      Description

      template<int I, typename T>
      T& get(T x);
      
      struct P {
      };
      
      void example(P p) {
        &get<0>(p);
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              evgeny.mandrikov Evgeny Mandrikov
              Reporter:
              evgeny.mandrikov Evgeny Mandrikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: