RFC: std.concepts

Hpkl via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 19 15:14:29 PDT 2014


On Sunday, 19 October 2014 at 21:10:12 UTC, Shammah Chancellor 
wrote:
> It was request that I create a NG thread about a module I was 
> hoping to merge with phobos. (std.concepts)  Please take a look.
>
> Thanks in advance.
>

So basically it allows, at compile time, to check that an 
agregate contains all the "primitive" methods defined in a 
concept, and eventually it diagnoses accurately which axiom is 
missing ? right ?

e.g the the assertion in http://dpaste.dzfl.pl/08f740ac5e48
would be correct ?



More information about the Digitalmars-d mailing list