Kinds of containers

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 21 07:51:27 PDT 2015


On Wednesday, 21 October 2015 at 14:20:23 UTC, Andrei 
Alexandrescu wrote:
> Containers will obey subsets of a nomenclature of primitives.

Just to be crystal clear, something like this?

void fun(Container)(ref Container c) if (hasAppend!Container) {
     // append stuff to c
}





More information about the Digitalmars-d mailing list