[Boost-bugs] [Boost C++ Libraries] #12598: Function definition not found reported by intellisense

Subject: [Boost-bugs] [Boost C++ Libraries] #12598: Function definition not found reported by intellisense
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-09 14:09:17


#12598: Function definition not found reported by intellisense
------------------------------+--------------------------
 Reporter: bjorn.holmgren@… | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: foreach
  Version: Boost 1.62.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 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!?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12598>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC