Ask coding questions

← Back to all posts
[cquery] use of undeclared identifier 'nullptr'
DipanjanDas1 (1)

I am using C++ 11 as coding language in repl.it. But my code complaining for undeclared identifier 'nullptr' which is part of C++ 11 as far as I know. Can anyone help me on that?

Thanks in advance.

Comments
hotnewtop
SPQR (597)

Nevermind, I found it. I wouldn't worry about the cquery stuff unless it returns an error upon compilation. The code intelligence for C++ here is slightly outdated, unfortunately. If you find more issues like these, you could bring it to staff's attention at https://repl.it/feedback/p/cc-code-intelligence-needs-some-work

SPQR (597)

Could you link us to your repl? It'd make helping you a lot easier.