Topic: article: allocators...exceptions...new/delete [reply to: Sat, 12 Jul 2003 09:24:52 -0400, James Kuyper].


Author: kuyper@wizard.net (James Kuyper)
Date: Fri, 18 Jul 2003 20:29:08 +0000 (UTC)
Raw View
dhruvbird@gmx.net (Dhruv Matani) wrote in message news:<1058348000.3149.21.camel@home.free>...
> On Sat, 12 Jul 2003 09:24:52 -0400, James Kuyper wrote:
>
> >> Yes, in fact, I have the 1996 draft copy.
> >
> > Get the real standard. There are LOTS of difference between that draft
> > and the final version.
> >
>
> I will ASA I find someone to sponsor it :-) I wonder if the guys at the
> ansi standard organization give any sort of student discount?

It's only $18, which isn't a lot of money here in the US for a typical
employed computer programmer. I'm not sure where you live; I imagine
that the exchange rate into other currencies might make it more of a
problem, particularly for a student.

> >> What is the advantage of using such stateful allocators?
> >
> > On simple kind of stateful allocator uses a new, distinct memory pool
> > each time a new instance of the allocator is created, and shares that
> > pool with every instance created by copy construction, copy
> > assignment, and conversion. Instances that use different memory pools
> > are inequivalent, because they don't have access to each other's
> > memory pools.
> >
>
> So, basically, it's like per-class allocators.

Stateful allocators could be used for that purpose; and others as
well.

---
[ 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                       ]





Author: dhruvbird@gmx.net ("Dhruv")
Date: Mon, 21 Jul 2003 18:30:53 +0000 (UTC)
Raw View
On Fri, 18 Jul 2003 20:29:08 +0000, James Kuyper wrote:


>> I will ASA I find someone to sponsor it :-) I wonder if the guys at the
>> ansi standard organization give any sort of student discount?
>
> It's only $18, which isn't a lot of money here in the US for a typical
> employed computer programmer. I'm not sure where you live; I imagine
> that the exchange rate into other currencies might make it more of a
> problem, particularly for a student.
>

I'm not a typical employed computer programmer. I'm not even employed. and
live off my parent's money :-) Well, I live in India. The exchange rate is
$1 = 50 INR (Indian Rupees), so that makes the $18 = Rs. 900/- and, the
standards committed in India is practically non-existant. I tried to get
in touch with the local book shop (vendor) for some info. on the standard
committee in India, and no one knows what it is :-)

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                       ]