It is important to leave possibility for compiler to verify that
restricted types are used only in compliance with a concept. I am
thinking about moving some basic primitives to druntime and
designing it in a bit more light-weight way - for example, I
don't like usage of Concept base class
On Sunday, 19 October 2014 at 22:39:06 UTC, Shammah Chancellor
wrote:
On 2014-10-19 22:14:29 +, Hpkl said:
On Sunday, 19 October 2014 at 21:10:12 UTC, Shammah Chancellor
wrote:
It was request that I create a NG thread about a module I was
hoping to merge with phobos. (std.concepts)
On Sunday, 19 October 2014 at 21:10:12 UTC, Shammah Chancellor
wrote:
It was request that I create a NG thread about a module I was
hoping to merge with phobos. (std.concepts) Please take a look.
It seems like it might have some good use cases, but I'm not sure
that it warrants a new module.
Looks very nice! I think I could make use of it. (Though I use D only
recreationally :-) )
LMB
On Sun, Oct 19, 2014 at 7:10 PM, Shammah Chancellor via Digitalmars-d
digitalmars-d@puremagic.com wrote:
It was request that I create a NG thread about a module I was hoping to
merge with phobos.
It was request that I create a NG thread about a module I was hoping to
merge with phobos. (std.concepts) Please take a look.
Thanks in advance.
-S
Link to PR:
https://github.com/D-Programming-Language/phobos/pull/2627
Docs:
bool isConcept(T, C, bool diagnostics = false, string
On Sunday, 19 October 2014 at 21:10:12 UTC, Shammah Chancellor
wrote:
It was request that I create a NG thread about a module I was
hoping to merge with phobos. (std.concepts) Please take a look.
Thanks in advance.
So basically it allows, at compile time, to check that an
agregate
On 2014-10-19 22:14:29 +, Hpkl said:
On Sunday, 19 October 2014 at 21:10:12 UTC, Shammah Chancellor wrote:
It was request that I create a NG thread about a module I was hoping to
merge with phobos. (std.concepts) Please take a look.
Thanks in advance.
So basically it allows, at