1 Dec
2001
1 Dec
'01
4:29 p.m.
On 12/1/01 4:09 AM, "Patrick Guio"
I cannot get this compiled with g++ v 2.95 friend ostream& operator<<(ostream &os, const any &rhs) { return os << *any_cast<bool>(rhs); }
What's the intent of using the word "friend" here? I think that might be the problem. You can declare this function without "friend". -- Darin