[std.database]
Steve Teale
steve.teale at britseyeview.com
Sat Nov 26 06:55:50 PST 2011
On Fri, 25 Nov 2011 12:53:36 -0500, Kagamin wrote:
> Steve Teale Wrote:
>
>> So one question is where should such implementations go?
>
> github?
Well, probably yes, but that sounds a bit like "if you build it they will
come", which doesn't always work.
>
>> 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.
Is that what we do with Ranges?
More information about the Digitalmars-d
mailing list