So, what will the member function be called? «opElvis»? No…opCast for bool.
That means you cannot create your own type-safe filtering mechanism, but will be forced to provide opCast for bool.
So, what will the member function be called? «opElvis»? No…opCast for bool.
That means you cannot create your own type-safe filtering mechanism, but will be forced to provide opCast for bool.