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

Mimic permissiveness of Microsoft compiler regarding function templates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10
    • Fix Version/s: 3.12
    • Component/s: C++, MSVC, Semantic Analysis
    • Labels:
      None

      Description

      Since version 3.10 (CPP-1367) we unable to analyze

      template<typename T>
      void fun();
      
      template<typename T>
      void fun<T>() {
      }
      

      which Microsoft compiler accepts as a valid code, while others reject.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: