opDispatch to template members

deadalnix deadalnix at gmail.com
Mon Dec 10 11:14:18 PST 2012


On Sunday, 9 December 2012 at 03:33:07 UTC, Era Scarecrow wrote:
> On Thursday, 6 December 2012 at 23:01:19 UTC, deadalnix wrote:
>> On Thursday, 6 December 2012 at 21:49:21 UTC, Phil Lavoie 
>> wrote:
>>> I mean automatically dispatch to template members, not doing 
>>> it in a case by case fashion (using template if clauses for 
>>> example).
>>>
>>> Thanks
>>
>> This is a known issue of the current design of opDispatch.
>
>  It seems like there should be a way to separate template 
> function calls to opDispatch and keep opDispatch's own template 
> half separate. Hmmm... Some type of separator.
>

It seems that using opDispatch within opDispatch as shown before 
in the thread solve the problem. This technique should be 
advertised.


More information about the Digitalmars-d mailing list