Custom span type "is not a valid range type"
I have a custom `span` implementation. However when I do `for (auto& x : objects)` where `objects` is a `span` I get a "span<...> is not a valid range type" warning from the IDE. The code compiles just fine.
Configuration: Ubuntu 16.04, CLion 2018.1, gcc 4.9.4
Please sign in to leave a comment.
Hi, Baris,
Please try CLion 2018.2 EAP. You don't need to uninstall the stable version in order to test the EAP build - they can be installed side-by-side. Is the issue still actual in the EAP build? If yes, please provide us with a standalone code sample with which the issue can be reproduced.
I am still getting the same warning with the 2018.2 EAP. I will try to produce a standalone code, but I can't promise.