Menu

False positive: Syntax error: operator

Pixel
2021-01-05
2021-01-05
  • Pixel

    Pixel - 2021-01-05

    [syntaxerror.cpp:1] (error) syntax error: operator [syntaxError]


    template<class... Ts> struct overloaded : Ts... { using Ts::operator()...; };
    void main() { }
    
     

    Last edit: Pixel 2021-01-05
  • Daniel Marjamäki

    Thanks! I can reproduce. I have created https://trac.cppcheck.net/ticket/10080

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.