Skip to content

range-v3 issue #6639

Description

Type: LanguageService

Describe the bug

  • OS and Version: Linux x64 5.4.0-56-generic
  • VS Code Version: 1.51.1
  • C/C++ Extension Version: 1.1.3

Steps to reproduce
I have code:

#include <range/v3/algorithm/all_of.hpp>

......

    if (ranges::all_of(v, [](bool val) { return val; })) {
        publish();
    }

And I get message:

no instance of overloaded function "ranges::all_of_fn::operator()" matches the argument list -- argument types are: (std::vector<bool, std::allocator>, lambda []bool (bool val)->bool) -- object type is: const ranges::all_of_fn

With another ranges same problem about "no instance".

How I can avoid this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceVisual StudioInherited from Visual StudiobugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions