On Wednesday, 10 May 2017 at 10:53:59 UTC, Atila Neves wrote:
http://code.dlang.org/packages/concepts
concepts is a dub package and library that allows one to
declare that a struct conforms to a "compile-time interface"
such as `isInputRange`. The difference between this and a
simple `static
On Wednesday, 10 May 2017 at 10:53:59 UTC, Atila Neves wrote:
concepts is a dub package and library that allows one to
declare that a struct conforms to a "compile-time interface"
such as `isInputRange`.
Awesome!
http://code.dlang.org/packages/concepts
concepts is a dub package and library that allows one to declare
that a struct conforms to a "compile-time interface" such as
`isInputRange`. The difference between this and a simple `static
assert(isInputRange!MyType)` is that when the static assert