[Dune] [#766] Separate GenericGeometries and the SmallObjectPool
Dune
flyspray at dune-project.org
Wed Apr 7 10:21:43 CEST 2010
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#766 - Separate GenericGeometries and the SmallObjectPool
User who did this - Jö Fahlke (joe)
----------
Actually, if you have an allocator a of type A for objects of type T, you can
get the corresponding allocator b of type B for objects of type U by:
typedef typename A::template rebind<U>::other B;
B b(a);
@Martin: what do you mean by "The container has an allocator for the abstract
base type"? The part "allocator for an abstract base class" sounds wrong to
me since no whole object can be of an abstract class, and thus you can't
allocate such objects.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=766#comment1861
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list