The nine types of constraints

By , last updated September 25, 2016

With Concepts Lite there are nine types of constraints. Each serves a different purpose, and those nine types of constraints are:

  1. Conjunctions
  2. Disjunctions
  3. Predicate constraints
  4. Expression constraints
  5. Type constraints
  6. Implicit conversion constraints
  7. Argument deduction constraints
  8. Exception constraints
  9. Parameterized constraints

All constraints will be explained and examples will be given for each constraint. Some of the constraint types are overlapping some, but each has a distinct set of features.

Professional Software Developer, doing mostly C++. Connect with Kent on Twitter.