Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 436 Bytes

strategy_name.rst

File metadata and controls

12 lines (9 loc) · 436 Bytes

Getting the Strategy Name

Since every Allocator is represented by the same type after it's been created, it can be difficult to determine exactly what kind of strategy the allocator is using. The name of the strategy can be accessed using the Allocator::getStrategyName() method:

../../../examples/cookbook/recipe_strategy_name.cpp