Can we chain an overloaded << operator
cout <<a<<b
without declaring the overloaded operator<< function friend?
I know that if there is no access to private members then we can avoid the friend declaration but how is it linked to << operator chaining?