Error with constraints on a templated fuction

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 25 09:20:14 PDT 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140825/d94e1894/attachment.sig>


More information about the Digitalmars-d-learn mailing list