From 4416028258937222203
X-Google-Thread: f78e5,d860fade7481e4d8
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: AlbertoBarbati@libero.it (Alberto Ganesh Barbati)
Newsgroups: comp.std.c++
Subject: Re: tr1::shared_ptr and boost::shared_ptr
Date: Tue, 18 Apr 2006 23:42:46 GMT
Organization: [Infostrada]
Lines: 23
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <2Ne1g.87562$PR2.1399597@twister2.libero.it>
References: <1145386359.445242.255260@i39g2000cwa.googlegroups.com> <49-dnXlnpcXN2tjZnZ2dnUVZ_sKdnZ2d@giganews.com>
NNTP-Posting-Host: news.news.demon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: news.demon.co.uk 1145403773 21840 158.152.254.254 (18 Apr 2006 23:42:53 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Tue, 18 Apr 2006 23:42:53 +0000 (UTC)
X-Original-To: std-c++@mailman.ucar.edu
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-User-Agent: Mozilla Thunderbird 1.5 (Windows/20051201)
X-Scanned: with antispam and antivirus automated system at libero.it
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-Path: comp-std-cpp-robomod!not-for-mail
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id k3INgkBU003242;
	Wed, 19 Apr 2006 09:42:46 +1000 (EST)
X-NNTP-Posting-Date: Wed, 19 Apr 2006 01:39:42 MET DST
X-Delivered-To: std-c++@ucar.edu
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Newsgroups: comp.std.c++
Xref: g2news1.google.com comp.std.c++:1600

Pete Becker ha scritto:
> Axter wrote:
>> What was the justification for the tr1 shared_ptr not to allow a custom
>> deleter like the boost::shared_ptr?
>>
> 
> There is none. It's part of the TR1 spec.
> 

Uhm? In the latest publicly available draft of TR1 (dated 2005-06-24
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1836.pdf)
tr1::shared_ptr definitely *has* support for custom deleters. In
particular, see clause 2.2.3.2. Are you saying that this feature has
been removed in a subsequent (non-publicly available) draft?

Ganesh

---
[ 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.comeaucomputing.com/csc/faq.html                      ]



