std.database
Erik Smith via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 28 06:10:02 PDT 2015
> Maybe make the database providers interfaces instead of
> data+dispatch? You're allocating the stuff anyway.
Do you mean inheriting from interfaces like this?
class MysqlStatement : Statement {...}
I need deterministic resource management and I don't think
classes provide that. Using structs with RefCounted internals
seems ideal for this and it appears to be working well.
erik
More information about the Digitalmars-d
mailing list