Calling template member function?
    Andrey Zherikov 
    andrey.zherikov at gmail.com
       
    Tue Apr 19 18:18:26 UTC 2022
    
    
  
On Tuesday, 19 April 2022 at 16:38:42 UTC, Steven Schveighoffer 
wrote:
> On 4/19/22 11:46 AM, Paul Backus wrote:
>> If you remove `static` from `f_new`, you get an error message 
>> talking about this explicitly:
>
> Interesting that `static` does anything there, since it's a 
> no-op.
>
> -Steve
I put `static` because it fixes "dual context" error.
Is there a way/workaround to achieve the desired behavior? Those 
two bugs pointed above were reported in 2017 and 2011 (!) which 
makes me think that they won't be fixed any time soon (I'm not 
sure that they are actually the same issue as I faced here).
    
    
More information about the Digitalmars-d-learn
mailing list