220 39719 <5e0bbfcf-c60c-46e8-963f-3447b3b08fcc@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: yakitori1010@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: constexpr! or constexpr(true)
Date: Sat, 11 Aug 2018 15:13:27 -0700 (PDT)
Lines: 77
Approved: news@gmane.org
Message-ID: <5e0bbfcf-c60c-46e8-963f-3447b3b08fcc@isocpp.org>
References: <f377a21c-926e-4cd8-9c25-5c36b7a7a62c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1181_1215522536.1534025607955"
X-Trace: blaine.gmane.org 1534025483 8816 195.159.176.226 (11 Aug 2018 22:11:23 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 11 Aug 2018 22:11:23 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDD7HZ424QGBBCF7XXNQKGQEPVSL4WI@isocpp.org Sun Aug 12 00:11:19 2018
Return-path: <std-proposals+bncBDD7HZ424QGBBCF7XXNQKGQEPVSL4WI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw1-f72.google.com ([209.85.161.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDD7HZ424QGBBCF7XXNQKGQEPVSL4WI@isocpp.org>)
	id 1foc6R-0002DB-EF
	for gclcip-std-proposals@m.gmane.org; Sun, 12 Aug 2018 00:11:19 +0200
Original-Received: by mail-yw1-f72.google.com with SMTP id g126-v6sf17981462ywg.20
        for <gclcip-std-proposals@m.gmane.org>; Sat, 11 Aug 2018 15:13:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=+VIHGaA0vydNaZv0dQh89QUqLKIKW7/Q2y7oSQ5I4ZU=;
        b=se1GPuwJ8R7VWupUmTWTQThO9opA6i3PIATBPTAc/fUUXP6PjcII3h6IwcA2bt2Z0M
         Sy67L4lRvBZmo78Re50nbfb5aC7FheOqk98QY1/PWDK6KbgxtGaO0tlHyTjwsb1S9e7F
         51aQTGFEu4Gx46mYECaHvNTevxdKfibrc+DTU20C2YTeokqXQyEyUKgNn2Vb0Th8NK3f
         mbznfYisJSkk8QM+HIffF/nfeNlLLaMwUlKysvMmcuqdhsmoClzN4qcmKztWmiUrYnsW
         vXHVJr6Scszf6cX+wJkOdWXYROH9V+h4hvWJFejxDi1icla6gLRHaJT6EDtwx/blIhNs
         8Xfg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=+VIHGaA0vydNaZv0dQh89QUqLKIKW7/Q2y7oSQ5I4ZU=;
        b=Glh+WC/Rev6NRmLx6Sc7dTmjIlZs1aUaO6y/8Zuab1opFVxO+nzQSgqLR9Duc4KLXE
         3MxyebTKracv/ymwvJBjeNRXr3ufFkJ9Yn2TbIF/86V2Z+rWTsE7ZOUwJuC3XK8OX9yv
         xd5qLxjgZbwy0X41GGrD/RLL5ori7SN73bUhmkFmZskNdpOsUWWeJxQSh39EtuesHGfP
         +KuUlAarYjq3okRRwsXxvZz9XI4dEJ7fQXs16vrvkdQ9qeBZhrHOLgNYkVEDwUxauf80
         VvI5IYBYvJjpWVvGFLnsaWetsc1coaBOBxviZ7Vtd/45GZ0y0kJ2cv5BlYP1tkx8yQbx
         bTBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=+VIHGaA0vydNaZv0dQh89QUqLKIKW7/Q2y7oSQ5I4ZU=;
        b=QbVp20s3TIhWZssamV5J6hhPwd3MP8FVHb8rlxJL9OC4RzMJRTStqZGm8C4Z3bbFCI
         HPIbhQcIj3YEnFQVvhdf78KAOQ4a5OCzCODmkxI4ZP56WwwefjCs9I7sDftBuuu+Y9wO
         I8zZRKD4jpRYHV2Q/4kzVcC/NIGyZ7xEwNwb9kXmzvr8eWuhF4oYMDBGEoMYdO4GYU+/
         2i5K/zSqnFvAJsTqVzoT1+PXt97ZBAiSQzpcMDzKBLSeNh9u9gKyLF4boGJxci47f4z1
         VRousi1hT40pGMgWl34VvDyMF9CINGeocLKrr+UfRYxEvtfnR1tVLR2d69SRexIAerqD
         h3IQ==
X-Gm-Message-State: AOUpUlF1V8ibURJUP7DEtueydcCW6wSezfKsrg+7fUUWM+TOluvERkTh
	mB7G70tHTmIaCtlEjqhMTJnopg==
X-Google-Smtp-Source: AA+uWPwy7fHVxBi9oMjU83L8JdKPQcNLvXuD37IkSxEDEfLsufvyoPQHyF/VVe7AFszdvRWg+theDg==
X-Received: by 2002:a81:cd5:: with SMTP id 204-v6mr3744850ywm.103.1534025609692;
        Sat, 11 Aug 2018 15:13:29 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a81:4c90:: with SMTP id z138-v6ls2121424ywa.27.gmail; Sat,
 11 Aug 2018 15:13:28 -0700 (PDT)
X-Received: by 2002:a0d:de01:: with SMTP id h1-v6mr251149ywe.3.1534025608610;
        Sat, 11 Aug 2018 15:13:28 -0700 (PDT)
In-Reply-To: <f377a21c-926e-4cd8-9c25-5c36b7a7a62c@isocpp.org>
X-Original-Sender: yakitori1010@gmail.com
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:39719
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39719>

------=_Part_1181_1215522536.1534025607955
Content-Type: multipart/alternative; 
	boundary="----=_Part_1182_1634764540.1534025607955"

------=_Part_1182_1634764540.1534025607955
Content-Type: text/plain; charset="UTF-8"

 i wonder. How to need compiletime culc phase...

ex . constexpr(some_condition()) int sqr(int n){}

this needs 2 phase.
first to calc some_conditon()// is this finish one phase?
second to calc needed function.

can you description the order of decision.
at me not mind to force inline.
optimizer compiler is too canning then beginner.
what do you think the usecase.

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/5e0bbfcf-c60c-46e8-963f-3447b3b08fcc%40isocpp.org.

------=_Part_1182_1634764540.1534025607955
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>=C2=A0<span style=3D"display: inline !important; floa=
t: none; background-color: transparent; color: rgb(34, 34, 34); font-family=
: &quot;Arial&quot;,&quot;Helvetica&quot;,sans-serif; font-size: 13px; font=
-style: normal; font-variant: normal; font-weight: 400; letter-spacing: nor=
mal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px;=
 text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal;=
 word-spacing: 0px;">i wonder. How to need compiletime culc phase...</span>=
<br></div><div><br></div><div>ex .=C2=A0<span style=3D"display: inline !imp=
ortant; float: none; background-color: transparent; color: rgb(34, 34, 34);=
 font-family: &quot;Arial&quot;,&quot;Helvetica&quot;,sans-serif; font-size=
: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-=
spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-=
indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-sp=
ace: normal; word-spacing: 0px;">constexpr(some_condition()) int sqr(int n)=
{}</span></div><div><span style=3D"display: inline !important; float: none;=
 background-color: transparent; color: rgb(34, 34, 34); font-family: &quot;=
Arial&quot;,&quot;Helvetica&quot;,sans-serif; font-size: 13px; font-style: =
normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orp=
hans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-tr=
ansform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-sp=
acing: 0px;"><br></span></div><div>this needs 2 phase.</div><div>first to c=
alc some_conditon()// is this finish one phase?</div><div>second to calc ne=
eded function.</div><div><br></div><div>can you description the order of de=
cision.</div><div>at me not mind to force inline.</div><div>optimizer compi=
ler is too canning then beginner.</div><div>what do you think the usecase.<=
/div></div>

<p></p>

-- <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 <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/5e0bbfcf-c60c-46e8-963f-3447b3b08fcc%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/5e0bbfcf-c60c-46e8-963f-3447b3b08fcc=
%40isocpp.org</a>.<br />

------=_Part_1182_1634764540.1534025607955--

------=_Part_1181_1215522536.1534025607955--

.
