How could it be a keyword.
Here is how you could sort it out: 1) rename
struct distance
; 2) put your cared on the old name
distance
in Visual Studio, use "Go to definition item" of context menu. You will see that declaration. I did it:
template<class _InIt> inline
typename iterator_traits<_InIt>::difference_type
__CLRCALL_OR_CDECL distance(_InIt _First, _InIt _Last)
{ typename iterator_traits<_InIt>::difference_type _Off = 0;
_Distance2(_First, _Last, _Off, _Iter_cat(_First));
return (_Off);
}
This is from the file
xutility
; apparently, you got this include via included
iostream
.
Problem solved. Next time, you will be able to do it by yourself.
—SA