#1126 support PoolAllocator to allocate more than one object at a time
Metadata
Property | Value |
---|---|
Reported by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Reported at | Jun 8, 2012 14:34 |
Type | Feature Request |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Last edited at | Jun 8, 2012 15:15 |
Description
When running the bvectortest in dune-istl using the PoolAllocator instead of std::allocator, a std::bad_alloc is thrown in the PoolAlloctor. The reason is that someone tries to allocate mor than one single object. Is this intended behaviour? If so, it should be noted in doxygen documentation. I'll commit the updated test.
My intention is/was to implement an other BlockVector with pre-allocated memory. As a first step I wanted to try an other allocator...