220 17340 <1797611.7tArXeoMWd@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: Re: noexcept(auto)
Date: Mon, 13 Apr 2015 08:35:11 -0700
Lines: 42
Approved: news@gmane.org
Message-ID: <1797611.7tArXeoMWd@tjmaciei-mobl4>
References: <1657285.u9ziYB6mWs@tjmaciei-mobl4> <201504060232.40071.marc.mutz@kdab.com> <69629eca-4ed0-4cab-9cf0-1c7df6dba0f5@isocpp.org>
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 1428939328 1606 80.91.229.3 (13 Apr 2015 15:35:28 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 13 Apr 2015 15:35:28 +0000 (UTC)
Cc: std-proposals@isocpp.org
To: Olaf van der Spek <olafvdspek@gmail.com>
Original-X-From: std-proposals+bncBCB4TK757YBRBMWEV6UQKGQEVXCL4ZQ@isocpp.org Mon Apr 13 17:35:19 2015
Return-path: <std-proposals+bncBCB4TK757YBRBMWEV6UQKGQEVXCL4ZQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lb0-f198.google.com ([209.85.217.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBMWEV6UQKGQEVXCL4ZQ@isocpp.org>)
	id 1YhgOJ-0005XQ-P6
	for gclcip-std-proposals@m.gmane.org; Mon, 13 Apr 2015 17:35:15 +0200
Original-Received: by lbbqq2 with SMTP id qq2sf18334308lbb.0
        for <gclcip-std-proposals@m.gmane.org>; Mon, 13 Apr 2015 08:35:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:cc: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:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=ll0yFpWy7j2B1BHbimTbypAkYC6JU/GMKVA9l2ptohM=;
        b=KZZR3/lOOZE3swomPIBXzzqj1cX500bhHUi2cGjDYh2VzY3waWlcmZMqeBVdTTWzXV
         26OdiZTHlSqIpwGfeh/A5Ymy3+Bzbzg+wR6V9Ygr20K5JQVgkh/QeKV1aKMlPTE3ZWTM
         aLyatFGh9geVzOWTt2oYUFL/5AZR9y0+kZiPHTwSO35nBHSq/JpOwvO8GWlEtwXoOzrJ
         vlkWWJV9vK5z6tDRu3ujmDUhGhpN0uJvzyZN3/cKTGhEX4JxTpicYZVcnmZQ3TQmLTI7
         9E0BKBvQKV1CJvV1lxvqePOT7U953xhhM3k8gPAGhfxezI+4aso5VurNoBAhFBqEaE51
         X/mg==
X-Gm-Message-State: ALoCoQlKOcAd3qkjpQwxadefT6/bUFaeS+AXDmzojbXUoNcVfJ6LsUeR9ylP1bD23iysC36X+Bom
X-Received: by 10.112.166.137 with SMTP id zg9mr2691546lbb.11.1428939315131;
        Mon, 13 Apr 2015 08:35:15 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.92.65 with SMTP id ck1ls456701wib.28.gmail; Mon, 13 Apr
 2015 08:35:14 -0700 (PDT)
X-Received: by 10.194.103.67 with SMTP id fu3mr29695686wjb.69.1428939314208;
        Mon, 13 Apr 2015 08:35:14 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id he3si14521357wib.114.2015.04.13.08.35.14
        for <std-proposals@isocpp.org>;
        Mon, 13 Apr 2015 08:35:14 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl4.localnet (jfdmzpr03-ext.jf.intel.com [134.134.139.72])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 6E78612C001;
	Mon, 13 Apr 2015 08:35:13 -0700 (PDT)
User-Agent: KMail/4.14.6 (Linux/3.19.3-1-desktop; KDE/4.14.6; x86_64; ; )
In-Reply-To: <69629eca-4ed0-4cab-9cf0-1c7df6dba0f5@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mail=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-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://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>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:17340
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/17340>

On Monday 13 April 2015 03:15:33 Olaf van der Spek wrote:
> On Monday, April 6, 2015 at 2:27:22 AM UTC+2, Marc Mutz wrote:
> > 1. We use the noexcept operator because it is more convenient than using
> >    <type_traits>, esp. in the shared C++98/11 codebase that Qt still is,
> > where
> >    every use of the header requires ifdef'ery (whereas noexcept is
> > abstracted
> >    behind a function-like macro that gets centrally redefined to nothing
> > if
> >    noexcept is not supported).
> 
> What's stopping you from moving to C++11?

Compiler support. Until someone convinces Microsoft to get a compiler that has 
C++11 to support Windows Embedded Compact 7 and 8, we can't do anything about 
it. Similarly for QNX 6.5 (compiler based on GCC 4.4).

Note especially that any C++11 feature from the Standard Library are almost 
completely forbidden in Qt source code because there's no good way to detect 
when they are supported by the compiler / standard library combination. 
libstdc++ for example does not have a monotonically-increasing version number 
we could rely on.

> IMO a big source of exceptions is new. Wouldn't it make sense to have a
> noexcept new?

I didn't get the question.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

-- 

--- 
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 http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
