CLion incorrectly reports error when using std::bind (switching to boost::bind removes the error)

I get incorrect errors reported in my code where I use std::bind. I have included a screen shot below. If I switch to boost::bind then the errors goes away. I think this is a CLion bug as I expect std::bind to work as well and the code compiles.

0

Hello!

What CLion version do you use? On what OS? With what toolchain?

Do you have all options enabled in File | Settings | Languages & Frameworks | C/C++ | Clangd?

0

请先登录再写评论。