Bug on IDE hint for C++

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug on IDE hint for C++

cantfind

Code:
template<typename ForwardIterator>
void test(ForwardIterator first, ForwardIterator last)
{
       typename std::iterator_traits<ForwardIterator>::value_type value
}



has the message "Unable to resolve identifier value_type".

The code, however compiles fine.

How does one file this as a bug?




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug on IDE hint for C++

cantfind
After  configuring Netbeans to use my gcc-6 paths instead of the gcc provided by Xcode, this has been resolved.

That was the only thing I've changed...




Loading...