operator>> viewed as global function
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
In a template class, my definition :
PILE &operator>>( type &v ){ ...
leads to its classification and the classification of all
subsequent methods of the class in the category global
function. Same with <<. The problem seems to disappear
when spelled :
PILE & operator >>( type &v ){ ...
with spaces between & and operator and between
operator and >>