diff options
| author | bwarsaw | 2002-04-11 20:48:37 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-04-11 20:48:37 +0000 |
| commit | 35b77da86227f0a31c89b091fefc91cb6b13a002 (patch) | |
| tree | 2bab48e3bbfcf5859277f72be07b217aee6de7a9 /tests | |
| parent | 260c54ae1c8cd1d3471b9ebd21cc5d13e3274f71 (diff) | |
| download | mailman-35b77da86227f0a31c89b091fefc91cb6b13a002.tar.gz mailman-35b77da86227f0a31c89b091fefc91cb6b13a002.tar.zst mailman-35b77da86227f0a31c89b091fefc91cb6b13a002.zip | |
A bunch of new Yahoo bounce examples, courtesy of David Abrahams.
SF patch # 538983
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bounces/yahoo_02.txt | bin | 0 -> 2212 bytes | |||
| -rw-r--r-- | tests/bounces/yahoo_03.txt | 98 | ||||
| -rw-r--r-- | tests/bounces/yahoo_04.txt | 150 | ||||
| -rw-r--r-- | tests/bounces/yahoo_05.txt | 150 | ||||
| -rw-r--r-- | tests/bounces/yahoo_06.txt | 105 | ||||
| -rw-r--r-- | tests/bounces/yahoo_07.txt | 112 | ||||
| -rw-r--r-- | tests/bounces/yahoo_08.txt | 129 | ||||
| -rw-r--r-- | tests/bounces/yahoo_09.txt | 165 |
8 files changed, 909 insertions, 0 deletions
diff --git a/tests/bounces/yahoo_02.txt b/tests/bounces/yahoo_02.txt Binary files differnew file mode 100644 index 000000000..90d835dc9 --- /dev/null +++ b/tests/bounces/yahoo_02.txt diff --git a/tests/bounces/yahoo_03.txt b/tests/bounces/yahoo_03.txt new file mode 100644 index 000000000..9de32a43b --- /dev/null +++ b/tests/bounces/yahoo_03.txt @@ -0,0 +1,98 @@ +Return-Path: <boost-admin@lists.boost.org> +Received: from mx04.mrf.mail.rcn.net ([207.172.4.53] [207.172.4.53]) + by mta02.mrf.mail.rcn.net with ESMTP + id <20020403141004.PXBK1795.mta02.mrf.mail.rcn.net@mx04.mrf.mail.rcn.net>; + Wed, 3 Apr 2002 09:10:04 -0500 +Received: from milliways.osl.iu.edu ([129.79.245.239]) + by mx04.mrf.mail.rcn.net with esmtp (Exim 3.35 #5) + id 16slSd-0006Tx-00 + for david.abrahams@rcn.com; Wed, 03 Apr 2002 09:10:04 -0500 +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33EA0A22345; + Wed, 3 Apr 2002 09:10:00 -0500 +Received: from mta545.mail.yahoo.com (mta545.mail.yahoo.com [216.136.131.27]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33E9DA22332 + for <boost-admin@lists.boost.org>; Wed, 3 Apr 2002 09:09:13 -0500 +Date: Wed, 3 Apr 2002 09:09:13 -0500 +Message-Id: <200204031409.g33E9DA22332@milliways.osl.iu.edu> +From: MAILER-DAEMON@yahoo.com +To: boost-admin@lists.boost.org +X-Loop: MAILER-DAEMON@yahoo.com +Subject: Delivery failure +Sender: boost-owner@lists.boost.org +Errors-To: boost-owner@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> + +Message from yahoo.com. +Unable to deliver message to the following address(es). + +<cresus22@yahoo.com>: +Sorry your message to cresus22@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +--- Original message follows. + +X-Rocket-Spam: 129.79.245.239 +X-YahooFilteredBulk: 129.79.245.239 +X-Track: 111: 20 +Return-Path: <boost-admin@lists.boost.org> +Received: from milliways.osl.iu.edu (129.79.245.239) + by mta545.mail.yahoo.com with SMTP; 03 Apr 2002 06:09:04 -0800 (PST) +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33D6PA21151; + Wed, 3 Apr 2002 08:06:25 -0500 +Received: from exchsrv.uttc-utc.com ([63.80.119.4]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33D42A21076 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 08:04:03 -0500 +Received: by EXCHSRV with Internet Mail Service (5.5.2653.19) + id <G9MVAA8Z>; Wed, 3 Apr 2002 08:03:59 -0500 +Message-ID: <2FE8C75C7A06D4118BB50008C7F7E83103D5DF@EXCHSRV> +From: "Moore, Dave" <dmoore@ashtontechgroup.com> +To: "'boost@lists.boost.org'" <boost@lists.boost.org> +MIME-Version: 1.0 +X-Mailer: Internet Mail Service (5.5.2653.19) +Content-Type: text/plain; + charset="iso-8859-1" +Subject: [boost] OT(?) Top Posting, Discussion Threads, and Outlook/Exchange +Sender: boost-admin@lists.boost.org +Errors-To: boost-admin@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +Reply-To: boost@lists.boost.org +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> +Date: Wed, 3 Apr 2002 08:03:58 -0500 + +Since the recent discussion-discussion, I just tried to reply the "right" +way in "RE: [boost] Thread locals", only to see my efforts cheerfully +ignored by the Mailing List archive. +(http://lists.boost.org/MailArchives/boost/) + +I am stuck with Outlook 2000 + Exchange 5.5 here at work, but have some +considerable pull with the Exchange Admin. + +I notice that my replies have the "References:" field stripped off. Any +Boosters successfully using this email combination, preserving the +references field? + +Thanks, and sorry for the noise. +Dave +_______________________________________________ +Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost +. diff --git a/tests/bounces/yahoo_04.txt b/tests/bounces/yahoo_04.txt new file mode 100644 index 000000000..cf6036360 --- /dev/null +++ b/tests/bounces/yahoo_04.txt @@ -0,0 +1,150 @@ +Return-Path: <boost-admin@lists.boost.org> +Received: from mx04.mrf.mail.rcn.net ([207.172.4.53] [207.172.4.53]) + by mta05.mrf.mail.rcn.net with ESMTP + id <20020403144504.BXMM19155.mta05.mrf.mail.rcn.net@mx04.mrf.mail.rcn.net>; + Wed, 3 Apr 2002 09:45:04 -0500 +Received: from milliways.osl.iu.edu ([129.79.245.239]) + by mx04.mrf.mail.rcn.net with esmtp (Exim 3.35 #5) + id 16sm0V-0007O8-00 + for david.abrahams@rcn.com; Wed, 03 Apr 2002 09:45:04 -0500 +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33Ej1A23023; + Wed, 3 Apr 2002 09:45:01 -0500 +Received: from mta468.mail.yahoo.com (mta468.mail.yahoo.com [216.136.130.133]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33EibA23012 + for <boost-admin@lists.boost.org>; Wed, 3 Apr 2002 09:44:37 -0500 +Date: Wed, 3 Apr 2002 09:44:37 -0500 +Message-Id: <200204031444.g33EibA23012@milliways.osl.iu.edu> +From: MAILER-DAEMON@yahoo.com +To: boost-admin@lists.boost.org +X-Loop: MAILER-DAEMON@yahoo.com +Subject: Delivery failure +Sender: boost-owner@lists.boost.org +Errors-To: boost-owner@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> + +Message from yahoo.com. +Unable to deliver message to the following address(es). + +<agarciamartiartu@yahoo.es>: +Sorry, your message to agarciamartiartu@yahoo.es cannot be delivered. This account is over quota. + +<open00now@yahoo.co.uk>: +Sorry, your message to open00now@yahoo.co.uk cannot be delivered. This account is over quota. + +--- Original message follows. + +X-Track: 0: 100 +Return-Path: <boost-admin@lists.boost.org> +Received: from milliways.osl.iu.edu (129.79.245.239) + by mta468.mail.yahoo.com with SMTP; 03 Apr 2002 06:44:13 -0800 (PST) +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33EgcA22988; + Wed, 3 Apr 2002 09:42:38 -0500 +Received: from mail2.commerzbank.com (mail2.commerzbank.com [212.149.48.101]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33EciA22890 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 09:38:44 -0500 +Received: from sv016317.exchange.commerzbank.com (sendmail.commerzbank.com [172.16.71.150]) + by mail2.commerzbank.com (Commerzbank Mail-System) with ESMTP id 38105116C + for <boost@lists.boost.org>; Wed, 3 Apr 2002 16:35:15 +0200 (CEST) +Received: by sv016317.exchange.commerzbank.com with Internet Mail Service (5.5.2653.19) + id <2GBLGLD2>; Wed, 3 Apr 2002 16:37:33 +0200 +Message-ID: <CD3F0650BD65D31191BF0008C75D8DBD0300F66F@SV018443> +From: "Hoeffner, Detlef" <Detlef.Hoeffner@partner.commerzbank.com> +To: "'boost@lists.boost.org'" <boost@lists.boost.org> +Subject: RE: [boost] Thread locals +MIME-Version: 1.0 +X-Mailer: Internet Mail Service (5.5.2653.19) +Content-Type: text/plain; + charset="iso-8859-1" +Sender: boost-admin@lists.boost.org +Errors-To: boost-admin@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +Reply-To: boost@lists.boost.org +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> +Date: Wed, 3 Apr 2002 16:37:41 +0200 + + +> As a substitute, try using the comparison operator for the boost::thread +> class. This can fill the gap in many (but not all) cases where you are +> managing the set of threads yourself. + +I need this mainly for tracing purposes in spots where I have no knowledge +of the current instance of thread. This does not seem to help me in that +case. + +> On some platforms (i.e. pthreads), the "thread_id" is actually an opaque +> type (pthread_t) rather than a numeric value, and I think that is why no +> such operation is exposed in the current version of the library. + +It is however possible to provide a class threadid, that has dependent on +the +platform different members but provides operations as ==, !=, +operator<<(ostream&, ), ... That would be fine to solve the problem. + +Regards + +Detlef + +-----Original Message----- +From: Moore, Dave [mailto:dmoore@ashtontechgroup.com] +Sent: Mittwoch, 3. April 2002 14:33 +To: 'boost@lists.boost.org' +Subject: RE: [boost] Thread locals + + +> -----Original Message----- +> From: Hoeffner, Detlef +> [mailto:Detlef.Hoeffner@partner.commerzbank.com] +> Sent: Wednesday, April 03, 2002 6:59 AM +> To: 'boost@lists.boost.org' +> Subject: [boost] Thread locals +> +> +> Hello all, +> +> I am replacing my thread abstraction with the thread package +> from boost. It +> is very nice but I am missing two things. +> +> The first is the possibility to get an identifier for the +> current thread, a +> thread id. + +As a substitute, try using the comparison operator for the boost::thread +class. This can fill the gap in many (but not all) cases where you are +managing the set of threads yourself. + +On some platforms (i.e. pthreads), the "thread_id" is actually an opaque +type (pthread_t) rather than a numeric value, and I think that is why no +such operation is exposed in the current version of the library. + +Regards, +Dave + + +_______________________________________________ +Unsubscribe & other changes: +http://lists.boost.org/mailman/listinfo.cgi/boost +_______________________________________________ +Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost +. diff --git a/tests/bounces/yahoo_05.txt b/tests/bounces/yahoo_05.txt new file mode 100644 index 000000000..56d1a3018 --- /dev/null +++ b/tests/bounces/yahoo_05.txt @@ -0,0 +1,150 @@ +Return-Path: <boost-admin@lists.boost.org> +Received: from mx04.mrf.mail.rcn.net ([207.172.4.53] [207.172.4.53]) + by mta05.mrf.mail.rcn.net with ESMTP + id <20020403160106.EMCB19155.mta05.mrf.mail.rcn.net@mx04.mrf.mail.rcn.net>; + Wed, 3 Apr 2002 11:01:06 -0500 +Received: from milliways.osl.iu.edu ([129.79.245.239]) + by mx04.mrf.mail.rcn.net with esmtp (Exim 3.35 #5) + id 16snC5-0003g7-00 + for david.abrahams@rcn.com; Wed, 03 Apr 2002 11:01:06 -0500 +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33G10A24726; + Wed, 3 Apr 2002 11:01:00 -0500 +Received: from mta414.mail.yahoo.com (mta414.mail.yahoo.com [216.136.128.66]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33G02A24708 + for <boost-admin@lists.boost.org>; Wed, 3 Apr 2002 11:00:03 -0500 +Date: Wed, 3 Apr 2002 11:00:03 -0500 +Message-Id: <200204031600.g33G02A24708@milliways.osl.iu.edu> +From: MAILER-DAEMON@yahoo.com +To: boost-admin@lists.boost.org +X-Loop: MAILER-DAEMON@yahoo.com +Subject: Delivery failure +Sender: boost-owner@lists.boost.org +Errors-To: boost-owner@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> + +Message from yahoo.com. +Unable to deliver message to the following address(es). + +<cresus22@yahoo.com>: +Sorry your message to cresus22@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<jjb700@yahoo.com>: +Sorry your message to jjb700@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +--- Original message follows. + +X-Track: 1: 40 +Return-Path: <boost-admin@lists.boost.org> +Received: from milliways.osl.iu.edu (129.79.245.239) + by mta414.mail.yahoo.com with SMTP; 03 Apr 2002 07:59:49 -0800 (PST) +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33EduA22960; + Wed, 3 Apr 2002 09:39:56 -0500 +Received: from mail2.commerzbank.com (mail2.commerzbank.com [212.149.48.101]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33EciA22890 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 09:38:44 -0500 +Received: from sv016317.exchange.commerzbank.com (sendmail.commerzbank.com [172.16.71.150]) + by mail2.commerzbank.com (Commerzbank Mail-System) with ESMTP id 38105116C + for <boost@lists.boost.org>; Wed, 3 Apr 2002 16:35:15 +0200 (CEST) +Received: by sv016317.exchange.commerzbank.com with Internet Mail Service (5.5.2653.19) + id <2GBLGLD2>; Wed, 3 Apr 2002 16:37:33 +0200 +Message-ID: <CD3F0650BD65D31191BF0008C75D8DBD0300F66F@SV018443> +From: "Hoeffner, Detlef" <Detlef.Hoeffner@partner.commerzbank.com> +To: "'boost@lists.boost.org'" <boost@lists.boost.org> +Subject: RE: [boost] Thread locals +MIME-Version: 1.0 +X-Mailer: Internet Mail Service (5.5.2653.19) +Content-Type: text/plain; + charset="iso-8859-1" +Sender: boost-admin@lists.boost.org +Errors-To: boost-admin@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +Reply-To: boost@lists.boost.org +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> +Date: Wed, 3 Apr 2002 16:37:41 +0200 + + +> As a substitute, try using the comparison operator for the boost::thread +> class. This can fill the gap in many (but not all) cases where you are +> managing the set of threads yourself. + +I need this mainly for tracing purposes in spots where I have no knowledge +of the current instance of thread. This does not seem to help me in that +case. + +> On some platforms (i.e. pthreads), the "thread_id" is actually an opaque +> type (pthread_t) rather than a numeric value, and I think that is why no +> such operation is exposed in the current version of the library. + +It is however possible to provide a class threadid, that has dependent on +the +platform different members but provides operations as ==, !=, +operator<<(ostream&, ), ... That would be fine to solve the problem. + +Regards + +Detlef + +-----Original Message----- +From: Moore, Dave [mailto:dmoore@ashtontechgroup.com] +Sent: Mittwoch, 3. April 2002 14:33 +To: 'boost@lists.boost.org' +Subject: RE: [boost] Thread locals + + +> -----Original Message----- +> From: Hoeffner, Detlef +> [mailto:Detlef.Hoeffner@partner.commerzbank.com] +> Sent: Wednesday, April 03, 2002 6:59 AM +> To: 'boost@lists.boost.org' +> Subject: [boost] Thread locals +> +> +> Hello all, +> +> I am replacing my thread abstraction with the thread package +> from boost. It +> is very nice but I am missing two things. +> +> The first is the possibility to get an identifier for the +> current thread, a +> thread id. + +As a substitute, try using the comparison operator for the boost::thread +class. This can fill the gap in many (but not all) cases where you are +managing the set of threads yourself. + +On some platforms (i.e. pthreads), the "thread_id" is actually an opaque +type (pthread_t) rather than a numeric value, and I think that is why no +such operation is exposed in the current version of the library. + +Regards, +Dave + + +_______________________________________________ +Unsubscribe & other changes: +http://lists.boost.org/mailman/listinfo.cgi/boost +_______________________________________________ +Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost +. diff --git a/tests/bounces/yahoo_06.txt b/tests/bounces/yahoo_06.txt new file mode 100644 index 000000000..16c04fd65 --- /dev/null +++ b/tests/bounces/yahoo_06.txt @@ -0,0 +1,105 @@ +Return-Path: <boost-admin@lists.boost.org> +Received: from mx04.mrf.mail.rcn.net ([207.172.4.53] [207.172.4.53]) + by mta03.mrf.mail.rcn.net with ESMTP + id <20020403160604.WVKA16695.mta03.mrf.mail.rcn.net@mx04.mrf.mail.rcn.net>; + Wed, 3 Apr 2002 11:06:04 -0500 +Received: from milliways.osl.iu.edu ([129.79.245.239]) + by mx04.mrf.mail.rcn.net with esmtp (Exim 3.35 #5) + id 16snGt-0005FB-00 + for david.abrahams@rcn.com; Wed, 03 Apr 2002 11:06:04 -0500 +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33G61A24869; + Wed, 3 Apr 2002 11:06:01 -0500 +Received: from mta593.mail.yahoo.com (mta593.mail.yahoo.com [216.136.224.181]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33G5lA24845 + for <boost-admin@lists.boost.org>; Wed, 3 Apr 2002 11:05:47 -0500 +Date: Wed, 3 Apr 2002 11:05:47 -0500 +Message-Id: <200204031605.g33G5lA24845@milliways.osl.iu.edu> +From: MAILER-DAEMON@yahoo.com +To: boost-admin@lists.boost.org +X-Loop: MAILER-DAEMON@yahoo.com +Subject: Delivery failure +Sender: boost-owner@lists.boost.org +Errors-To: boost-owner@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> + +Message from yahoo.com. +Unable to deliver message to the following address(es). + +<andrew_polevoy@yahoo.com>: +Sorry your message to andrew_polevoy@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<baruch_sterin@yahoo.com>: +Sorry your message to baruch_sterin@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<rjhoeks@yahoo.com>: +Sorry your message to rjhoeks@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<tritonrugger91@yahoo.com>: +Sorry your message to tritonrugger91@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +--- Original message follows. + +X-Track: 1: 40 +Return-Path: <boost-admin@lists.boost.org> +Received: from milliways.osl.iu.edu (129.79.245.239) + by mta593.mail.yahoo.com with SMTP; 03 Apr 2002 08:03:49 -0800 (PST) +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33D6PA21151; + Wed, 3 Apr 2002 08:06:25 -0500 +Received: from exchsrv.uttc-utc.com ([63.80.119.4]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33D42A21076 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 08:04:03 -0500 +Received: by EXCHSRV with Internet Mail Service (5.5.2653.19) + id <G9MVAA8Z>; Wed, 3 Apr 2002 08:03:59 -0500 +Message-ID: <2FE8C75C7A06D4118BB50008C7F7E83103D5DF@EXCHSRV> +From: "Moore, Dave" <dmoore@ashtontechgroup.com> +To: "'boost@lists.boost.org'" <boost@lists.boost.org> +MIME-Version: 1.0 +X-Mailer: Internet Mail Service (5.5.2653.19) +Content-Type: text/plain; + charset="iso-8859-1" +Subject: [boost] OT(?) Top Posting, Discussion Threads, and Outlook/Exchange +Sender: boost-admin@lists.boost.org +Errors-To: boost-admin@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +Reply-To: boost@lists.boost.org +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> +Date: Wed, 3 Apr 2002 08:03:58 -0500 + +Since the recent discussion-discussion, I just tried to reply the "right" +way in "RE: [boost] Thread locals", only to see my efforts cheerfully +ignored by the Mailing List archive. +(http://lists.boost.org/MailArchives/boost/) + +I am stuck with Outlook 2000 + Exchange 5.5 here at work, but have some +considerable pull with the Exchange Admin. + +I notice that my replies have the "References:" field stripped off. Any +Boosters successfully using this email combination, preserving the +references field? + +Thanks, and sorry for the noise. +Dave +_______________________________________________ +Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost +. diff --git a/tests/bounces/yahoo_07.txt b/tests/bounces/yahoo_07.txt new file mode 100644 index 000000000..1f35e70f0 --- /dev/null +++ b/tests/bounces/yahoo_07.txt @@ -0,0 +1,112 @@ +Return-Path: <boost-admin@lists.boost.org> +Received: from mx04.mrf.mail.rcn.net ([207.172.4.53] [207.172.4.53]) + by mta05.mrf.mail.rcn.net with ESMTP + id <20020403160902.ETVB19155.mta05.mrf.mail.rcn.net@mx04.mrf.mail.rcn.net>; + Wed, 3 Apr 2002 11:09:02 -0500 +Received: from milliways.osl.iu.edu ([129.79.245.239]) + by mx04.mrf.mail.rcn.net with esmtp (Exim 3.35 #5) + id 16snJm-00067W-00 + for david.abrahams@rcn.com; Wed, 03 Apr 2002 11:09:02 -0500 +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33G90A24959; + Wed, 3 Apr 2002 11:09:00 -0500 +Received: from mta532.mail.yahoo.com (mta532.mail.yahoo.com [216.136.129.204]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33G84A24927 + for <boost-admin@lists.boost.org>; Wed, 3 Apr 2002 11:08:05 -0500 +Date: Wed, 3 Apr 2002 11:08:05 -0500 +Message-Id: <200204031608.g33G84A24927@milliways.osl.iu.edu> +From: MAILER-DAEMON@yahoo.com +To: boost-admin@lists.boost.org +X-Loop: MAILER-DAEMON@yahoo.com +Subject: Delivery failure +Sender: boost-owner@lists.boost.org +Errors-To: boost-owner@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> + +Message from yahoo.com. +Unable to deliver message to the following address(es). + +<mark1960_1998@yahoo.com>: +Sorry your message to mark1960_1998@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<ovchenkov@yahoo.com>: +Sorry your message to ovchenkov@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<tsa412@yahoo.com>: +Sorry your message to tsa412@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<vaxheadroom@yahoo.com>: +Sorry your message to vaxheadroom@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +--- Original message follows. + +X-Track: 1: 40 +Return-Path: <boost-admin@lists.boost.org> +Received: from 129.79.245.239 (EHLO milliways.osl.iu.edu) (129.79.245.239) + by mta532.mail.yahoo.com with SMTP; 03 Apr 2002 08:06:35 -0800 (PST) +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33DItA21480; + Wed, 3 Apr 2002 08:18:55 -0500 +Received: from hotmail.com (f110.law10.hotmail.com [64.4.15.110]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33DH7A21450 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 08:17:07 -0500 +Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; + Wed, 3 Apr 2002 05:16:59 -0800 +Received: from 194.100.118.234 by lw10fd.law10.hotmail.msn.com with HTTP; + Wed, 03 Apr 2002 13:16:59 GMT +X-Originating-IP: [194.100.118.234] +From: "Vesa Karvonen" <vesa_karvonen@hotmail.com> +To: boost@lists.boost.org +Subject: Re: [boost] [Type Traits] Patch for type_with_alignment +Mime-Version: 1.0 +Content-Type: text/plain; format=flowed +Message-ID: <F110iKiIcN3VknIDBoH00014513@hotmail.com> +X-OriginalArrivalTime: 03 Apr 2002 13:16:59.0830 (UTC) FILETIME=[D63C7D60:01C1DB11] +Sender: boost-admin@lists.boost.org +Errors-To: boost-admin@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +Reply-To: boost@lists.boost.org +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> +Date: Wed, 03 Apr 2002 16:16:59 +0300 + +>On Fri, 29 Mar 2002, David Abrahams wrote: +>>Are you planning to apply this patch? +>> +>>-Dave +> +>Yes, but I can't right now. I'll apply it tomorrow if it hasn't already +>been done. +> +> Doug + +How is the patch coming up (or did I miss some post on this subject)? + +I'm also working on something that could use type_with_alignment<>. + + +_________________________________________________________________ +Join the world’s largest e-mail service with MSN Hotmail. +http://www.hotmail.com + +_______________________________________________ +Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost +. diff --git a/tests/bounces/yahoo_08.txt b/tests/bounces/yahoo_08.txt new file mode 100644 index 000000000..c531cef9b --- /dev/null +++ b/tests/bounces/yahoo_08.txt @@ -0,0 +1,129 @@ +Return-Path: <boost-admin@lists.boost.org> +Received: from mx04.mrf.mail.rcn.net ([207.172.4.53] [207.172.4.53]) + by mta05.mrf.mail.rcn.net with ESMTP + id <20020403162905.FMNL19155.mta05.mrf.mail.rcn.net@mx04.mrf.mail.rcn.net>; + Wed, 3 Apr 2002 11:29:05 -0500 +Received: from milliways.osl.iu.edu ([129.79.245.239]) + by mx04.mrf.mail.rcn.net with esmtp (Exim 3.35 #5) + id 16snd9-0004Fd-00 + for david.abrahams@rcn.com; Wed, 03 Apr 2002 11:29:04 -0500 +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33GT1A25554; + Wed, 3 Apr 2002 11:29:01 -0500 +Received: from mta551.mail.yahoo.com (mta551.mail.yahoo.com [216.136.172.80]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33GSmA25536 + for <boost-admin@lists.boost.org>; Wed, 3 Apr 2002 11:28:49 -0500 +Date: Wed, 3 Apr 2002 11:28:49 -0500 +Message-Id: <200204031628.g33GSmA25536@milliways.osl.iu.edu> +From: MAILER-DAEMON@yahoo.com +To: boost-admin@lists.boost.org +X-Loop: MAILER-DAEMON@yahoo.com +Subject: Delivery failure +Sender: boost-owner@lists.boost.org +Errors-To: boost-owner@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> + +Message from yahoo.com. +Unable to deliver message to the following address(es). + +<chatrathis@yahoo.com>: +Sorry your message to chatrathis@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<crownjules01@yahoo.com>: +Sorry your message to crownjules01@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<cwl_999@yahoo.com>: +Sorry your message to cwl_999@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<eichaiwiu@yahoo.com>: +Sorry your message to eichaiwiu@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<rjhoeks@yahoo.com>: +Sorry your message to rjhoeks@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<yuli_kolesnikov@yahoo.com>: +Sorry your message to yuli_kolesnikov@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +--- Original message follows. + +X-Track: 1: 40 +Return-Path: <boost-admin@lists.boost.org> +Received: from milliways.osl.iu.edu (129.79.245.239) + by mta551.mail.yahoo.com with SMTP; 03 Apr 2002 08:22:08 -0800 (PST) +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33GJwA25252; + Wed, 3 Apr 2002 11:19:58 -0500 +Received: from mailout6-0.nyroc.rr.com (mailout6-0.nyroc.rr.com [24.92.226.125]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33GInA25230 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 11:18:49 -0500 +Received: from there (alb-66-24-181-181.nycap.rr.com [66.24.181.181]) + by mailout6-0.nyroc.rr.com (8.11.6/Road Runner 1.12) with SMTP id g33GIko18895 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 11:18:46 -0500 (EST) +Message-Id: <200204031618.g33GIko18895@mailout6-0.nyroc.rr.com> +Content-Type: text/plain; + charset="iso-8859-1" +From: Douglas Gregor <gregod@cs.rpi.edu> +Organization: Rensselaer Polytechnic Institute +To: boost@lists.boost.org +Subject: Re: [boost] [Type Traits] Patch for type_with_alignment +X-Mailer: KMail [version 1.3.2] +References: <F128rzvsTDWWcuZcGwM00012d40@hotmail.com> +In-Reply-To: <F128rzvsTDWWcuZcGwM00012d40@hotmail.com> +MIME-Version: 1.0 +Content-Transfer-Encoding: 8bit +Sender: boost-admin@lists.boost.org +Errors-To: boost-admin@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +Reply-To: boost@lists.boost.org +X-Reply-To: gregod@cs.rpi.edu +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> +Date: Wed, 3 Apr 2002 11:21:18 -0500 + +On Wednesday 03 April 2002 10:34 am, you wrote: +> Douglas Gregor: +> >type_with_alignment<> is available in CVS. +> +> hmm... You are right, but it is in the compiler_supported_error_messages +> branch. Is this intentional? + +It was a rogue sticky tag... type_with_alignment<> is now on the CVS main +trunk, where it was supposed to be in the first place. + +> >I'm guessing we should also add aligned_storage somewhere, because I'm +> >sure quite a few of us will use it: +> +> Good idea. +> +> >Maybe this belongs in utility/aligned_storage.hpp? +> +> I have a feeling that something like this should probably go somewhere +> closer to <memory> rather than <utility>. + +<boost/memory.hpp>? I'd really like to have more than 6 lines in it, but we +can do that. That'd probably be a good place for the small-string +optimization allocator as well. + + Doug +_______________________________________________ +Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost +. + diff --git a/tests/bounces/yahoo_09.txt b/tests/bounces/yahoo_09.txt new file mode 100644 index 000000000..f8067a5b4 --- /dev/null +++ b/tests/bounces/yahoo_09.txt @@ -0,0 +1,165 @@ +Return-Path: <boost-admin@lists.boost.org> +Received: from mx04.mrf.mail.rcn.net ([207.172.4.53] [207.172.4.53]) + by mta01.mrf.mail.rcn.net with ESMTP + id <20020403190104.CHE29566.mta01.mrf.mail.rcn.net@mx04.mrf.mail.rcn.net>; + Wed, 3 Apr 2002 14:01:04 -0500 +Received: from milliways.osl.iu.edu ([129.79.245.239]) + by mx04.mrf.mail.rcn.net with esmtp (Exim 3.35 #5) + id 16sq0F-0005l5-00 + for david.abrahams@rcn.com; Wed, 03 Apr 2002 14:01:03 -0500 +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33J11A07189; + Wed, 3 Apr 2002 14:01:01 -0500 +Received: from mta446.mail.yahoo.com (mta446.mail.yahoo.com [216.136.129.101]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33J04A07150 + for <boost-admin@lists.boost.org>; Wed, 3 Apr 2002 14:00:05 -0500 +Date: Wed, 3 Apr 2002 14:00:05 -0500 +Message-Id: <200204031900.g33J04A07150@milliways.osl.iu.edu> +From: MAILER-DAEMON@yahoo.com +To: boost-admin@lists.boost.org +X-Loop: MAILER-DAEMON@yahoo.com +Subject: Delivery failure +Sender: boost-owner@lists.boost.org +Errors-To: boost-owner@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> + +Message from yahoo.com. +Unable to deliver message to the following address(es). + +<hankel_o_fung@yahoo.com>: +Sorry your message to hankel_o_fung@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +<ultravirus2001@yahoo.com>: +Sorry your message to ultravirus2001@yahoo.com cannot be delivered. This account has been disabled or discontinued. + +--- Original message follows. + +The original message is over 5K. Message truncated. + +X-Track: 1: 100 +Return-Path: <boost-admin@lists.boost.org> +Received: from milliways.osl.iu.edu (129.79.245.239) + by mta446.mail.yahoo.com with SMTP; 03 Apr 2002 10:59:57 -0800 (PST) +Received: from milliways.osl.iu.edu (localhost [127.0.0.1]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with ESMTP id g33HexA27227; + Wed, 3 Apr 2002 12:40:59 -0500 +Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) + by milliways.osl.iu.edu (8.11.6/8.11.6/IUCS_2.44) with SMTP id g33HcwA27186 + for <boost@lists.boost.org>; Wed, 3 Apr 2002 12:38:58 -0500 +Received: from ppp-1-53.chel-5800-8.access.uk.tiscali.com (HELO albert) (RaoulGough@212.159.169.53 with login) + by smtp.mail.vip.sc5.yahoo.com with SMTP; 3 Apr 2002 17:38:54 -0000 +Message-ID: <001601c1db36$6da28950$0100a8c0@albert> +From: "Raoul Gough" <RaoulGough@yahoo.co.uk> +To: <boost@lists.boost.org> +References: <200204011702.g31H2eA04494@milliways.osl.iu.edu> +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: 7bit +X-Priority: 3 +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook Express 6.00.2600.0000 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 +Subject: [boost] Re: boost::weak_ptr suggestions +Sender: boost-admin@lists.boost.org +Errors-To: boost-admin@lists.boost.org +X-BeenThere: boost@lists.boost.org +X-Mailman-Version: 2.0.8 +Precedence: bulk +Reply-To: boost@lists.boost.org +List-Help: <mailto:boost-request@lists.boost.org?subject=help> +List-Post: <mailto:boost@lists.boost.org> +List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=subscribe> +List-Id: Boost mailing list <boost.lists.boost.org> +List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>, + <mailto:boost-request@lists.boost.org?subject=unsubscribe> +List-Archive: <http://lists.boost.org/MailArchives/boost/> +Date: Wed, 3 Apr 2002 18:37:55 +0100 + +> From: "Peter Dimov" <pdimov@mmltd.net> +> To: <boost@lists.boost.org> +> Subject: Re: [boost] boost::weak_ptr suggestions +> Date: Mon, 1 Apr 2002 17:31:05 +0300 +> Organization: Multi Media Ltd. +> Reply-To: boost@lists.boost.org +> +> From: "Raoul Gough" <RaoulGough@yahoo.co.uk> +[snip] +> > Secondly, I believe it would be better for the get() method to throw or +> > assert when called on an invalidated pointer, instead of transparently +> > returning 0. In my opinion, there is a fundamental difference between +the +> > two states (null and invalid) which is not observable with the current +> > interface. The addition of a member function like "bool is_valid() +const;" +> > would also allow the user code to decide how to deal with an invalid +> > pointer, instead of merging the two distinct states into the one (null) +> > state. +> +> Right again. However, the primary methods of accessing a weak_ptr are (1) +> constructing a shared_ptr (which does throw) and (2) make_shared. get() +has +> been retained for efficiency but is not recommended (in multithreaded +> programs.) + +So why the difference in error semantics between the single and +multi-threaded idioms? For example, if I converted single-threaded code that +uses get() to thread-safe code using make_shared, I also get changed +semantics for the invalid pointer case. + +Incidentally, it looks like the use_count member function can determine +indirectly whether the target still exists or not. It seems a bit obscure +though, seeing as the reference count is really an implementation detail and +distinct from the concept of null/valid/invalid. + +> +> > The big advantage of considering invalid.get() an error is that code +which +> > then works without error using weak_ptr would have *exactly* unchanged +> > semantics using a plain pointer replacement. This allows (for example) a +> > debug build/release build choice between weak_ptr<T> and T* for +> performance +> > reasons. If weak_ptr<T> silently returns null on invalid pointers, then +> this +> > guarantee cannot be made - what would be undefined use on a plain +pointer +> is +> > not detected by the weak_ptr. +> +> Interesting point. You can write your own get() that does what you want: +> +> T * get(weak_ptr<T> const & p) +> { +> return shared_ptr<T>(p).get(); +> } +> +> but it's not as efficient as a throwing get(). Most people seem to prefer +> the current get() semantics, though, where 0 is returned. + +Well, I can understand that point of view as well - either the weak pointer +has a valid target object or not (in which case null or deleted doesn't +really matter). However, my use of a smart weak pointer is really as a +debugging aid, so I would like the error to be detected as soon as possible +(and distinguished from a null-pointer assertion or SEGV). Short of adding a +policy class template parameter, it would be easy to add a new member +function which does get() with severe checking - along the lines of +vector.at versus vector.operator[]. Just an idea. + +BTW, am I right in thinking that sharede_ptr always maintains an extra weak +reference counter? I mean, even if my code doesn't use weak_ptr, shared_ptr +still has to maintain the extra counter, right? That, combined with the +*** MESSAGE TRUNCATED *** + + +. |
