Increasing performance with static polymorphism (and other neat tricks) - blog post
srean
srean.list at gmail.com
Tue Apr 1 00:15:59 PDT 2014
Not a question to you in particular, but dont know how to add to
a thread without replying.
I am very curious about the following (I think by the time I had
clarified my question Walter had left the building)
>> I have a slightly tangential question, repeating what I asked
>> on HN
>>
>> Can't the destructor issue of scopebuffer be mitigated by using
>>
>> hasElaborateDestructor( )
>>
>> For instance have two versions one with a destructor for non
>> POD
>> and another without. The compiler dispatches to the appropriate
>> one at compile time. There should not be any loss in
>> performance.
More information about the Digitalmars-d
mailing list