220 24209 <2390270.BM3DFplE2E@tjmaciei-mobl4> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposal: Change the specified behavior when
 control flow reaches the end of non-void functions
Date: Thu, 04 Feb 2016 21:59:58 -0800
Lines: 26
Approved: news@gmane.org
Message-ID: <2390270.BM3DFplE2E@tjmaciei-mobl4>
References: <5115b78c-8fb4-4c72-a278-f74c636f5217@isocpp.org> <CAFk2RUb7P++1if3G9ab09XggHi0p-s1PeKW8V_8rok=ohUTxLQ@mail.gmail.com> <CAJnLdOYjkPnjmg+qbT4UEjqLrTvK12zXpyYj+3YPFFKy_OCW-Q@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1454652009 12189 80.91.229.3 (5 Feb 2016 06:00:09 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 5 Feb 2016 06:00:09 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBYPU2C2QKGQETQZNP7A@isocpp.org Fri Feb 05 07:00:03 2016
Return-path: <std-proposals+bncBCB4TK757YBRBYPU2C2QKGQETQZNP7A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f71.google.com ([209.85.215.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBYPU2C2QKGQETQZNP7A@isocpp.org>)
	id 1aRZR4-0003O3-T8
	for gclcip-std-proposals@m.gmane.org; Fri, 05 Feb 2016 07:00:02 +0100
Original-Received: by mail-lf0-f71.google.com with SMTP id 78sf27989629lfy.2
        for <gclcip-std-proposals@m.gmane.org>; Thu, 04 Feb 2016 22:00:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:user-agent:in-reply-to:references
         :mime-version:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=ZpLMFeK5EtJ7j5bpWBZe3aAuso/ShTi+n1bBxCL6QEI=;
        b=zdh0hMOMV9UJPweuTf27MNEPQCkP4+zvDhVmFdKmL/gWV/NcHMuqRKEt/Q2uDiD/E2
         VjU6acabR1Ru2Z+1R+x6s1QHw+6l2BWnrLl3s+Srj815rhf6cFwDJoCC8ARgOQ4wbw2a
         WGObRNbOz9UlDRn4PVvnZlnyrH++I2CB1R3OFAQxq+GWoR3OwAuVe/F1lxDeLp/8A7wL
         DT28P0hTDI1L/1WlI3sDbbM3jTd9cuDCOK7Ip2ni/wtH73m0i2zUZCfod7QTWr0a4f9y
         NTQYbk/msc3mCPsy7gcVXOCIFO0AX3x1XD0N+6jADYSynoeXM3FQl2HrAG+TXrYiZTAG
         J9Jw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=ZpLMFeK5EtJ7j5bpWBZe3aAuso/ShTi+n1bBxCL6QEI=;
        b=KhJG2amHeejQ50HidoB2P3vWryXvNh3F8cDX6ZqaKfLE4t2oxJd3HnlRyPK6Y47cM5
         jvlYxgUX1ygiNL9T0Io+3IJGTHy2lfaBWpuE55EGePmr/89xv015Be+V8hCpjJbJc7Y2
         dYqW93fkFQylO8I6uTeiorFg2b1dwDJVnUqYXedGlv+KXM+/ACsKjr7hxDWDS8Kak4D9
         IGJ9BqnewrHFLQUTnfinCQ8e+Fewv50A+VGhb1TfC48T3DlKPV0exF8Gr8fsAu9TRo2g
         JtOc1UGDlXvRF4jhJEgA3Zkue2qL0Zpwhu4StKuISUicuJaBPLDXM0ecy10yx31dQyyr
         4ELg= 
X-Gm-Message-State: AG10YOTfh4IHq2IOPTZEBx5BEpyfSsL5XjeFbMVzKMISvClURlValAeSiFghXAJ2vhXR/g==
X-Received: by 10.112.169.5 with SMTP id aa5mr1540420lbc.12.1454652002143;
        Thu, 04 Feb 2016 22:00:02 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.14.85 with SMTP id 82ls57564wmo.38.gmail; Thu, 04 Feb 2016
 22:00:00 -0800 (PST)
X-Received: by 10.28.175.209 with SMTP id y200mr33245123wme.70.1454652000971;
        Thu, 04 Feb 2016 22:00:00 -0800 (PST)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [78.47.120.188])
        by mx.google.com with ESMTP id 10si42779246wmd.15.2016.02.04.22.00.00
        for <std-proposals@isocpp.org>;
        Thu, 04 Feb 2016 22:00:00 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) client-ip=78.47.120.188;
Original-Received: from tjmaciei-mobl4.localnet (unknown [IPv6:2601:1c0:5803:81c9:e543:da51:e592:f8e8])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 90D6111B456
	for <std-proposals@isocpp.org>; Thu,  4 Feb 2016 22:00:00 -0800 (PST)
User-Agent: KMail/5.1.1 (Linux/4.3.3-6-default; KDE/5.18.0; x86_64; ; )
In-Reply-To: <CAJnLdOYjkPnjmg+qbT4UEjqLrTvK12zXpyYj+3YPFFKy_OCW-Q@mail.gmail.com>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) smtp.mailfrom=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:24209
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24209>

On quinta-feira, 4 de fevereiro de 2016 23:47:35 PST 'Edward Catmur' via ISO C
++ Standard - Future Proposals wrote:
> Those tools are optional; they are not mandated by the standard. The
> problem is that you're proposing to terminate a program without giving the
> program itself any indication of why the termination is occurring; the only
> indication is a diagnostic emitted to a standard error output that may be
> discarded if it even exists at all.

The proposal in question is that the program be terminated. Nothing in it says 
that it needs to be a silent termination. Nor does it require a diagnostic.

What the compiler may want to implement is its own business, so long as it 
terminates the program by eventually calling std::terminate.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 

--- 
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 email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at https://groups.google.com/a/isocpp.org/group/std-proposals/.

.
