Skip to content

Policy-based design in STL

1、STL中的policy based design

2、这体现了"C++特性-prefer-Static-over-dynamic-polymorphism"

3、CppCoreGuidelines-Per.11 Move computation from run time to compile time

包括:

1、allocator

2、char_trait