220 4540 <b5a79562-dcaa-4292-a5a6-1d69225e0a32@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: contract programming :: preconditions in STD
Date: Fri, 24 May 2013 11:39:33 -0700 (PDT)
Lines: 94
Approved: news@gmane.org
Message-ID: <b5a79562-dcaa-4292-a5a6-1d69225e0a32@isocpp.org>
References: <e190fafe-c89f-4394-ab07-6856e8025e24@isocpp.org> <CAOHCbiu8g04o8+c8ve_hxpV30K2XFygk26=ArzKiSCOoK20z1g@mail.gmail.com>
 <CAGg_6+Nepvdg98Owsti5-VLY5fTQPCjRgHRHNb=UN=Pq_n5UrQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_562_16599350.1369420773687"
X-Trace: ger.gmane.org 1369420776 7068 80.91.229.3 (24 May 2013 18:39:36 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 24 May 2013 18:39:36 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCEKFTV6ZUMBB2HH72GAKGQE33WOHQQ@isocpp.org Fri May 24 20:39:38 2013
Return-path: <std-proposals+bncBCEKFTV6ZUMBB2HH72GAKGQE33WOHQQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f199.google.com ([209.85.223.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBB2HH72GAKGQE33WOHQQ@isocpp.org>)
	id 1Ufwtt-0003dX-J1
	for gclcip-std-proposals@m.gmane.org; Fri, 24 May 2013 20:39:37 +0200
Original-Received: by mail-ie0-f199.google.com with SMTP id s9sf19139307iec.2
        for <gclcip-std-proposals@m.gmane.org>; Fri, 24 May 2013 11:39:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-google-group-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=LLwA+eDTWfpjia+APwkT5cC1qXFD7y8Z0VCm0XRUpNg=;
        b=lmFamCDpBvrHha48M7CJzQkOVBoArQ6d2Qx+uE8pJQnm7yAXRPXrQIRMQ3xN8YcS7i
         HOUaeWTlu+HALG0HFNKuQbllh/g8LhzHk2LEkjOozdzaPzcFdiT0HY8xMhoPmUzlBIQN
         t+OqDnydlo1htvXqLt+b740wFxlkh4sqOmfh8gT2wvuI7gIKcX3VOJpKs883sygSMpU8
         bh/f8jlpNpuy7GuAwoCbJGdPSpyBaZtKDrOOOLi+eoLtlXWy+KhkercIM68p8SN/FuXq
         w0vhWJI5UBkBhD0za9mlGhB9IcmL2yRXd1cjjdWgcwzbEU93f+PBneSZSXGq2xmeJBCz
         2xVQ==
X-Received: by 10.42.54.80 with SMTP id q16mr13777678icg.9.1369420776644;
        Fri, 24 May 2013 11:39:36 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.65.65 with SMTP id v1ls658788igs.5.gmail; Fri, 24 May 2013
 11:39:34 -0700 (PDT)
X-Received: by 10.50.56.51 with SMTP id x19mr509222igp.0.1369420774610;
        Fri, 24 May 2013 11:39:34 -0700 (PDT)
In-Reply-To: <CAGg_6+Nepvdg98Owsti5-VLY5fTQPCjRgHRHNb=UN=Pq_n5UrQ@mail.gmail.com>
X-Original-Sender: jmckesson@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post?hl=en>,
 <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?hl=en&topic=25838>,
 <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:4540
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4540>

------=_Part_562_16599350.1369420773687
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Friday, May 24, 2013 7:43:36 AM UTC-7, Nevin ":-)" Liber wrote:
>
> On 24 May 2013 09:33, Tony V E <tvan...@gmail.com <javascript:>> wrote:
>
>> at() is basically described incorrectly and should be fixed.=20
>>
>
> It already has been (I reported it a while ago).
>
> IMO your best bet is to look at the C++14 CD Programming Languages =96 C+=
+,=20
> Committee Draft <http://isocpp.org/files/papers/N3690.pdf> as a base=20
> document for future proposals (even though it may change between now and=
=20
> C++14).
>

Not all of these have been fixed. It should be noted that, relative to the=
=20
C++14 CD, section 17.6.4.11 states:

Violation of the preconditions specified in a function=92s Requires:=20
> paragraph results in undefined behavior unless the function=92s Throws:=
=20
> paragraph specifies throwing an exception when the precondition is violat=
ed.
>

It seems that you're saying that there shouldn't be that "unless" clause=20
there.

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/?hl=3Den.



------=_Part_562_16599350.1369420773687
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Friday, May 24, 2013 7:43:36 AM UTC-7, Nevin ":-)" Liber wrote:<blockquo=
te class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left:=
 1px #ccc solid;padding-left: 1ex;">On 24 May 2013 09:33, Tony V E <span di=
r=3D"ltr">&lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mail=
to=3D"kNUMQsGtmIsJ">tvan...@gmail.com</a>&gt;</span> wrote:<br><div class=
=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir=3D"ltr"><div>at() is basically described incorrectly and should be=
 fixed.&nbsp;</div></div></blockquote><div><br></div><div>It already has be=
en (I reported it a while ago).</div><div><br></div><div>
IMO your best bet is to look at the C++14 CD&nbsp;<a href=3D"http://isocpp.=
org/files/papers/N3690.pdf" target=3D"_blank">Programming Languages =96 C++=
, Committee Draft</a>&nbsp;as a base document for future proposals (even th=
ough it may change between now and C++14).</div></div></blockquote><div><br=
>Not all of these have been fixed. It should be noted that, relative to the=
 C++14 CD, section 17.6.4.11 states:<br><br><blockquote style=3D"margin: 0p=
x 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1=
ex;" class=3D"gmail_quote">Violation of the preconditions specified in a fu=
nction=92s Requires: paragraph results in undefined behavior unless the fun=
ction=92s Throws: paragraph specifies throwing an exception when the precon=
dition is violated.<br></blockquote><div><br>It seems that you're saying th=
at there shouldn't be that "unless" clause there.<br></div></div>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_562_16599350.1369420773687--

.
