In the generic programming/TMP world what exactly is a model / a policy and a "concept" ?
- by Hassan Syed
I'd like to know the precise yet succinct definitions of these three concepts in one place. The quality of the answer should depend on the following two points.
Show a simple code snippet to show how and what the concept/technique is used for.
Be simple enough to understand so that a programmer without any exposure to this area can grasp it.
Note:
There are probably many correct answers since each concept has many different facets. If there are a lot of good answers I will eventually turn the question into CW and aggregate the answers.
-- Post Accept Edit --
Boost has a nice article on generic programming concepts