Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 99009 invoked from network); 27 Nov 2007 18:47:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2007 18:47:14 -0000 Received: (qmail 30686 invoked by uid 500); 27 Nov 2007 18:47:02 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 30673 invoked by uid 500); 27 Nov 2007 18:47:02 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 30662 invoked by uid 99); 27 Nov 2007 18:47:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 10:47:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Farid_Zaripov@epam.com designates 217.21.63.3 as permitted sender) Received: from [217.21.63.3] (HELO EPMSA009.epam.com) (217.21.63.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 18:46:43 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: question on the examples for the source/forward/backward incompatible changes Date: Tue, 27 Nov 2007 20:46:43 +0200 Message-ID: <7BDB2168BEAEF14C98F1901FD2DE643801482FAD@epmsa009.minsk.epam.com> In-reply-to: <47486D4E.7020005@roguewave.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: question on the examples for the source/forward/backward incompatible changes Thread-Index: Acgux+glnr+9VAuzRoybyvLlRDWx+ACXUqyg References: <7BDB2168BEAEF14C98F1901FD2DE643801482A48@epmsa009.minsk.epam.com> <47477A82.5090105@roguewave.com> <4748677D.9060809@gmail.com> <47486D4E.7020005@roguewave.com> From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor > Sent: Saturday, November 24, 2007 8:29 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: question on the examples for the=20 > source/forward/backward incompatible changes >=20 > This is an interesting example because it doesn't actually=20 > break programs at compile time but rather changes their=20 > runtime behavior, something that typically is associated with=20 > binary compatibility. Why with binary compatibility? From the current document: "Source compatibility also implies functional compatibility, although it does not necessarily imply binary compatibility." In this case if program already compiled this change is binary compatible, because the program don't knows about new overload of the existing function. At the same time this change is not source compatible because it's changes functionality of the program, compiled with the library with new overload function. > Incidentally, we even have an enhancement request for this=20 > new inserter (maybe you've seen it): > http://issues.apache.org/jira/browse/STDCXX-296 >=20 > But there certainly are cases where adding an overload can=20 > break programs by introducing an ambiguity where there=20 > previously was none. >=20 > Martin