C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Article: allocators...exceptions...new/delete [reply to: Sat

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards
View previous topic :: View next topic  
Author Message
Dhruv Matani
Guest





PostPosted: Wed Jul 16, 2003 4:46 pm    Post subject: Article: allocators...exceptions...new/delete [reply to: Sat Reply with quote



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
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group