Policy-Based Hierarchy Template Abstraction

Policy-Based Design

Utilizing parameter types as polices is a common practice in C++ library design; however a common issue encountered with utilizing the type defined by the provided polices is that it is unique (of course C++ is strongly typed). Therefore a library may provide a purely abstract interface for some concept, where the derived classes will utilize polices to provide the implementation. Additionally the policy interface can be enforced (post 0×11, pre 0×14).