Problem with immutables and Template typeof(this)
    AuoroP via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sun Dec 28 17:26:59 PST 2014
    
    
  
> -----Original Message-----
> From: digitalmars-d-learn at puremagic.com
> Sent: Sun, 28 Dec 2014 22:21:20 +0000
> To: digitalmars-d-learn at puremagic.com
> Subject: Re: Problem with immutables and Template typeof(this)
> 
> On Sunday, 28 December 2014 at 22:07:31 UTC, AuoroP via
> Digitalmars-d-learn wrote:
>> I have been trying to figure templates out...
>> 
>> template ExampleTemplate(T)
>> {
>>     struct ExampleTemplate
>>     {
>>         T value;
>> 
>>         // constructor
>>         auto this(T value)
> 
I also wanted to thank you for your very helpful answer!
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
    
    
More information about the Digitalmars-d-learn
mailing list