www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Experimenting with templates

Following up my D practices, I've created a 'groupBy' template[1] for
Stockman (my practice project).

I'd like to ask you more experienced folks to please take a look at it.
 As this is my first template, I'd like to know if I am doing anything
idiomatically/logically wrong.

PS: I've also implemented two simple function templates (all[1] and
contains[2]) because the versions from dlib didn't appeal to my sense of
usage beauty :-)


Jul 13 2016