![]() |
last update 20 Sep 2009 |
![]() |
#include <cvrList.h>
In case a different allocator Alloc than std::allocator is chosen the std::list is used, no matter how big T is. This is necessary since cvr::smallObjectList doesn't know any allocators.
It is highly recommended that you use cvr::list in all places that require a list. Test show superior performance in almost any case. If you don't follow this recommendation use cvr::smallObjectList or std::list directly and clearly document why you have done so
Note that this requires a C++ compiler that supports partial template specialization.