Search

July 13, 2010
Learn »
...is ever a satisfactory substitute for real RAII.

And I have to say, I'm...
July 12, 2010
Learn »
Well, if you have found a use case for static opCall then it needs to...
July 12, 2010
Learn »
This would be why I like Berophile's suggestion on the main list of having...
July 12, 2010
Learn »
I think that's supposed to go away, but I'm not 100% sure.  Would...
July 12, 2010
Learn »
...comparison - particularly when I can still use RAII in cases where the constructor does take...
July 12, 2010
Learn »
Can't you use a static opCall (also suggested by Jacob Carlborg)?

Bye,
bearophile
July 12, 2010
Learn »
...autolock for a mutex which would use RAII. It would lock the mutex when it...
July 12, 2010
Learn »
...that, wouldn't most structs that use RAII have a constructor that at least requires...
July 12, 2010
Learn »
Jonathan M Davis <jmdavisprog@gmail.com> wrote:

So use an enum and string mixins:

import...
July 12, 2010
Learn »
You can use a static opCall method (if that hasn't been deprecated as well...
86 87 88 89 90 91 92 93 94 95 96 97
Next ›   Last »