I am working with Visual Studio 2015 and I'm getting a lot of compiler errors but I can't figure out where the root cause of those is:
Double-clicking on the highlighted error takes me into the list
file to the operator==
:
template<class _Ty,
class _Alloc> inline
bool operator==(const list<_Ty, _Alloc>& _Left,
const list<_Ty, _Alloc>& _Right)
{ // test for list equality
return (_Left.size() == _Right.size()
&& _STD equal(_Left.begin(), _Left.end(), _Right.begin()));
}
Well, that doesn't help. Since I am working on a huge project, I don't know where the root cause of that error is, i.e. where is the code which uses the std::list
in a way that causes this error?
I think XCode shows a stack for such errors, if I remember correctly.
How can I find out where this error originates?