C++'s "defaulted comparison operators" proposal

Ellery Newcomer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 18 05:34:32 PDT 2014


On Wednesday, 18 June 2014 at 05:49:30 UTC, Ali Çehreli wrote:
> Can you come up with a D library solution to the following 
> C++11 proposal:
>
>   
> http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2014/n3950.html
>

did this years ago (or something similar, at least):
https://bitbucket.org/ariovistus/multi_index/src/0993f8604c1438f6d9f26f580939b42fdd159a67/src/multi_index.d?at=default#cl-4654

example:

https://bitbucket.org/ariovistus/multi_index/src/0993f8604c1438f6d9f26f580939b42fdd159a67/unittests/multi_compare.d?at=default


More information about the Digitalmars-d-learn mailing list