Templates: Array slices not recognized

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 18 10:59:19 PDT 2015


On Sat, 18 Apr 2015 17:50:56 +0000, Chris wrote:

> Doh! You're right! My bad. However, this makes the function less
> generic, but it doesn't matter here.

maybe `auto ref` can help here?
-------------- 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/20150418/eb58c170/attachment.sig>


More information about the Digitalmars-d-learn mailing list