 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dhruv Matani Guest
|
Posted: Wed Jul 16, 2003 4:46 pm Post subject: Article: allocators...exceptions...new/delete [reply to: Sat |
|
|
On Sat, 12 Jul 2003 09:23:19 -0400, Andy Sawyer wrote:
| Quote: | In article <pan.2003.07.10.18.19.19.500436 (AT) gmx (DOT) net>,
on 11 Jul 2003 08:49:35 -0400,
"Dhruv" <dhruvbird (AT) gmx (DOT) net> wrote:
On Tue, 08 Jul 2003 02:32:22 +0000, Dhruv wrote:
Just another quick question: Are allocators allowed to be templated
around
more that one template parameter?
In the case of std::allocator, the answer is clearly no (due to the
template template parameter issue).
For other allocators, however, I see no reason why not - although
making
rebind do the right thing might be interesting.
|
Thanks.
| Quote: | Also, with such a design, template template parameters would not
work, or
would they?
It rather depends on what you mean...
|
I have replied to Richard Smith saying what I mean. Please have a look
at
it and tell me.
Regards,
-Dhruv.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]
|
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group
|