Error with constraints on a templated fuction

Jeremy DeHaan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 25 09:37:06 PDT 2014


On Monday, 25 August 2014 at 16:20:24 UTC, ketmar via 
Digitalmars-d-learn wrote:
> On Mon, 25 Aug 2014 16:11:27 +0000
> Jeremy DeHaan via Digitalmars-d-learn
> <digitalmars-d-learn at puremagic.com> wrote:
>
>> Is its ability to be used as a function like this documented 
>> anywhere? I looked and could not find it.
> http://dlang.org/concepts.html
> template constraints is a special case. is not a real function 
> here,
> it's more like special predicate syntax.

Awesome! Thanks so much.


More information about the Digitalmars-d-learn mailing list