I have a class that has a method:
friend ostream& operator<<(ostream&, const map&);
int want_map()const; // what is the purpose of this const
the method is declared in the class
defined outside the the class:
in this declaration I need to use an overloaded inseration
operator to display a map.
the friend function above should work right??
thanks for any help.