Opened 6 years ago
#12598 new Bugs
Function definition not found reported by intellisense
Reported by: | Owned by: | Eric Niebler | |
---|---|---|---|
Milestone: | To Be Determined | Component: | foreach |
Version: | Boost 1.62.0 | Severity: | Problem |
Keywords: | Cc: |
Description
This occurs in Visual Studio 2015, update 1. C++/CLI
=======================================
test.h class MyClass { public: void MyMethod(); }; test.cpp #include "test.h" #include <boost/foreach.hpp> void MyClass::MyMethod() { std::string word = "Hello"; BOOST_FOREACH(char character, word) { } }
=======================================
IntelliSense shows a function not defined for the function. if i remove the BOOST_FOREACH its OK. It can compile however in both cases!?
Note:
See TracTickets
for help on using tickets.