On 1 Aug 2014 at 11:39, Roland Bock wrote:
Usage of concepts is greatly:
a) misunderstood b) misunderestimated as to their value in design AND documentation Right, last year, I heard several people basically asking "why on earth would anyone want this?" after listening to a talk about Concepts Lite. It took me a about an hour at dinner to convince some of them that it might be worth looking into the topic a bit more...
d) The word "concepts" is a big contributor to the problem - substitute "type requirements" or "type constraints" for concepts. I like "type constraints" best.
FYI Concepts Lite isn't purely a type constraint system. It can also be used to type specialise in a much more general way than partial type specialisation and eliminate a great many std::enable_if<> or equivalents. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/