Compile-Time Sort in D

cym13 via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 8 12:07:50 PDT 2017


On Wednesday, 7 June 2017 at 21:47:58 UTC, John Carter wrote:
> On Monday, 5 June 2017 at 14:23:34 UTC, Mike Parker wrote:
>> https://dlang.org/blog/2017/06/05/compile-time-sort-in-d/
>
> Seems like you have inspired people...
>
> http://blog.zdsmith.com/posts/compiletime-sort-in-nim.html

Seeing that the one and only D example in the nim article is a 
broken one (using static instead of enum or static immutable for 
'b') we should have started with a correct example before showing 
the broken one... Good to know for next time.


More information about the Digitalmars-d-announce mailing list