override '.' member access

spir denis.spir at gmail.com
Tue Jan 25 15:08:51 PST 2011


On 01/25/2011 08:44 PM, Jonathan M Davis wrote:
> On Tuesday, January 25, 2011 11:33:24 spir wrote:
>> Hello,
>>
>> Cannot find corresponding opSomething method, if any. (opDispatch seems to
>> specialise for method call.)
>> Else, how to catch obj.member?
>
> [...]
> You can overload a number of operators, but not the dot operator.

Yes, that's it, the dot operator; you said it more clearly than I did ;-)

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d-learn mailing list