[std.database]

Kagamin spam at here.lot
Fri Nov 25 09:53:36 PST 2011


Steve Teale Wrote:

> So one question is where should such implementations go?

github?

> Another questions relates to the definition of interfaces at module
> level. We have interfaces that go hand-in-hand with classes built in
> to the language. But if I wanted to say that two sql interface modules
> had the same 'interface', how could this be formalized. Could it be
> done using contracts? I'd welcome suggestions on this.

It can be done using concepts: a template which instantiates to a set of static asserts about what you want.


More information about the Digitalmars-d mailing list