220 15606 <m91euh$u1o$1@ger.gmane.org> article
Path: news.gmane.org!not-for-mail
From: Matthew Woehlke <mw_triad@users.sourceforge.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Library support for relaxed constexpr
Date: Mon, 12 Jan 2015 16:39:29 -0500
Lines: 27
Approved: news@gmane.org
Message-ID: <m91euh$u1o$1@ger.gmane.org>
References: <5ccd3d6e-859c-4b66-b61c-317b704647f2@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 1421098792 31320 80.91.229.3 (12 Jan 2015 21:39:52 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 12 Jan 2015 21:39:52 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCO5FYHBU4ERBIH62CSQKGQEYGKYCSI@isocpp.org Mon Jan 12 22:39:46 2015
Return-path: <std-proposals+bncBCO5FYHBU4ERBIH62CSQKGQEYGKYCSI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f72.google.com ([209.85.215.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCO5FYHBU4ERBIH62CSQKGQEYGKYCSI@isocpp.org>)
	id 1YAmiA-0000qf-Cw
	for gclcip-std-proposals@m.gmane.org; Mon, 12 Jan 2015 22:39:46 +0100
Original-Received: by mail-la0-f72.google.com with SMTP id gq15sf14661565lab.3
        for <gclcip-std-proposals@m.gmane.org>; Mon, 12 Jan 2015 13:39:45 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:from:subject:date:lines:message-id:references
         :mime-version:content-type:user-agent:in-reply-to: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=lVRpD7RpWZRtVcFDteSgTt2p/XDNSXC3hb9IPfMteRg=;
        b=fwCUVkQ+IX3f86AbFKVk+1WGBGi+gyhQxgxBQgTKvQRwVBZFITJkoZOewusP746X8G
         Sm/caF8WBhSQRl8nHz2hCWZ/cL6QXGxPc32w28bvTfm4UbBIWHo9crvc5tDLnMEJaK2J
         5j3+qdmtfOD0T6Cq6XkL1uGcTPiZ4puW5LUljsacCvVpIUxuNUilevKgGmu1bn1Vi7lq
         TKLlOEZzSGFrUy1IQJ4XtV9Atb9IsnSHQ69pYycXIUCc4fAwCcI9uGHBn2Lmoqyz73wx
         gkY2bhdPXFpx2fgmVIlCvJ89bNMYSjwOfaColqXyeA6XcoC8JH5JLDuRG6zrjuEJ89t4
         U/EA==
X-Gm-Message-State: ALoCoQn9FXQncfKHObs8VjrwP72ENfJJeazpHRsZc42lcXBjVbILrndlaT2G5H/gMDGno9TlgylX
X-Received: by 10.180.105.97 with SMTP id gl1mr2402129wib.7.1421098785816;
        Mon, 12 Jan 2015 13:39:45 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.152.36.100 with SMTP id p4ls781299laj.24.gmail; Mon, 12 Jan
 2015 13:39:44 -0800 (PST)
X-Received: by 10.112.164.102 with SMTP id yp6mr38174147lbb.15.1421098784003;
        Mon, 12 Jan 2015 13:39:44 -0800 (PST)
Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3])
        by mx.google.com with ESMTPS id k1si1183874laf.21.2015.01.12.13.39.43
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Mon, 12 Jan 2015 13:39:43 -0800 (PST)
Received-SPF: pass (google.com: domain of gclcip-std-proposals@m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3;
Original-Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <gclcip-std-proposals@m.gmane.org>)
	id 1YAmi4-0000nR-O2
	for std-proposals@isocpp.org; Mon, 12 Jan 2015 22:39:40 +0100
Original-Received: from tripoint.kitware.com ([66.194.253.20])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <std-proposals@isocpp.org>; Mon, 12 Jan 2015 22:39:40 +0100
Original-Received: from mw_triad by tripoint.kitware.com with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <std-proposals@isocpp.org>; Mon, 12 Jan 2015 22:39:40 +0100
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 18
Original-X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: tripoint.kitware.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
In-Reply-To: <5ccd3d6e-859c-4b66-b61c-317b704647f2@isocpp.org>
X-Original-Sender: mw_triad@users.sourceforge.net
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of gclcip-std-proposals@m.gmane.org designates 80.91.229.3 as
 permitted sender) smtp.mail=gclcip-std-proposals@m.gmane.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:15606
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/15606>

On 2015-01-12 15:56, rhalbersma@gmail.com wrote:
> [...] it is perhaps time to introduce this feature 
> into the Standard Library. 
> 
> I write "introduce" rather than "update" because AFAICS, there is currently 
> *zero* usage of relaxed constexpr (e.g. non-const but constexpr member 
> functions) in the current Draft Standard.

Some implementations have apparently started adding constexpr anyway.

If a concerted effort is made to 'fix' this, please don't forget places
like <limits>, <cmath>, etc. (I had to change some code that was
originally written against libstdc++ because libc++ does not have
constexpr of e.g. ldexp. Having constexpr of basic math functions and
number manipulation functions seems like a no-brainer...)

-- 
Matthew

-- 

--- 
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/.

.
