From -6548986614551507851
X-Google-Thread: f78e5,d860fade7481e4d8
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!skynet.be!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: tom_usenet@hotmail.com (Tom Widmer)
Newsgroups: comp.std.c++
Subject: Re: tr1::shared_ptr and boost::shared_ptr
Date: Wed, 19 Apr 2006 14:55:02 GMT
Organization: Aioe.org NNTP Server
Lines: 36
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <e2536a$v7h$1@emma.aioe.org>
References: <1145386359.445242.255260@i39g2000cwa.googlegroups.com> <49-dnXlnpcXN2tjZnZ2dnUVZ_sKdnZ2d@giganews.com> <2Ne1g.87562$PR2.1399597@twister2.libero.it>
NNTP-Posting-Host: news.news.demon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.demon.co.uk 1145458506 4290 158.152.254.254 (19 Apr 2006 14:55:06 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Wed, 19 Apr 2006 14:55:06 +0000 (UTC)
X-Original-To: std-c++@mailman.ucar.edu
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
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 k3JEt2OL023482;
	Thu, 20 Apr 2006 00:55:02 +1000 (EST)
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++:1609

Alberto Ganesh Barbati wrote:
> 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?

There seems to be a misunderstanding. As a native english speaker, I 
took Pete's comment to meant that:

1. There is no justification for the tr1 shared_ptr not to allow a 
custom deleter like the boost::shared_ptr.
2. The custom deleter is part of the tr1::shared_ptr spec.

In other words, the OP asked an invalid question.

Tom

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



