|
On 2007-08-12 14:49, wrote:
I was just wondering if overloaded type cast functions
must always be member functions of some class.
If you mean the *_cast they can not be overloaded, if you mean the
struct Foo
{
operator int();
};
thing, then yes, they have to be members.
--
Erik Wikström
.
|