Open gvl2023 opened 4 months ago
I confirm this one. I have the same problem
This code from https://en.cppreference.com/w/cpp/utility/variant/visit is flagged by the indexer and since it relates to variadic templates I'm just adding it to this bug.
addition for above comment...
Indexer flags a valid C++ formatting library call (https://github.com/fmtlib/fmt)?
This is the templated function being called:
This compiles and runs just fine but the call to format is underlined and this is the error:
Invalid arguments ' Candidates are: std::__cxx11::basic_string<char,std::char_traits,std::allocator> format(fmt::v8::basic_format_string<char,fmt::v8::type_identity<#0(...)>::type ...>, #0(...) && ...)
std::__cxx11::basic_string<char,std::char_traits,std::allocator> format(const #0 &, fmt::v8::basic_format_string<char,fmt::v8::type_identity<#1(...)>::type ...>, #1(...) && ...)
Originally posted by @gvl2023 in https://github.com/eclipse-cdt/cdt/discussions/578