220 28835 <CAGNvRgDs+1LVuw0qft2Qc+=NkWivVqm5Go3g4YVgiUAWy7i-YQ@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Daniel_Kr=C3=BCgler?= <daniel.kruegler@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: std::reverse_lookup for arrays, does it at
 least make some sense?
Date: Fri, 14 Oct 2016 14:35:20 +0200
Lines: 21
Approved: news@gmane.org
Message-ID: <CAGNvRgDs+1LVuw0qft2Qc+=NkWivVqm5Go3g4YVgiUAWy7i-YQ@mail.gmail.com>
References: <8c3194d9-dd08-4bf9-9612-82b6aff3d55f@isocpp.org>
 <67db4ec6-764c-4b31-a90d-22b0ec1ae0fd@isocpp.org> <CAPCFJdRy8m=mgBHt27VA48sknQYmencbtCxuHDCSKYM4D2U=Gw@mail.gmail.com>
 <d5b5e9e2-1110-41a9-92cc-1a9f54ac6b5a@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: blaine.gmane.org 1476448537 3831 195.159.176.226 (14 Oct 2016 12:35:37 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 14 Oct 2016 12:35:37 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCT7RVFA4QORBCNCQPAAKGQELV45L2I@isocpp.org Fri Oct 14 14:35:32 2016
Return-path: <std-proposals+bncBCT7RVFA4QORBCNCQPAAKGQELV45L2I@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f198.google.com ([209.85.223.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCT7RVFA4QORBCNCQPAAKGQELV45L2I@isocpp.org>)
	id 1bv1hn-0007Sx-RG
	for gclcip-std-proposals@m.gmane.org; Fri, 14 Oct 2016 14:35:19 +0200
Original-Received: by mail-io0-f198.google.com with SMTP id j37sf119261356ioo.2
        for <gclcip-std-proposals@m.gmane.org>; Fri, 14 Oct 2016 05:35:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :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=nnZM9Ai+dE/R9Q1usaJVHd3WJ+9BOngbeNNrFJk5FLI=;
        b=tJMa2LiV1WEAm78r+pFPFZZslNomD6NzN8XGwges+EBO3YXeLXL3FWDN0y1rHdwID6
         +8k9EuvrDfLE27M1yftosl1na3LEGS1Gn9cW/LNMZR5QAYR/6XsIDny6DsR5gq/HGOui
         3FJ1jv0JRxdUgvMrW6m85bdt/hsZfLq70tgLsGvaOaAx+uMFITbIv/ZN/DCesvPc83gG
         B6AeaGPdghk0lL+6lF1rICQrUqsan3Ra57GKae+++Me+uhGisnyZyWtr1fa4TRtD0Xt4
         9LYscnwKuTSRRTpA3uqGyVOHgA00OKwQWjnhk3vdIO04G4cxc25iGSymYFzynfr8UJ/P
         6ZEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to: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=nnZM9Ai+dE/R9Q1usaJVHd3WJ+9BOngbeNNrFJk5FLI=;
        b=hbQ6E80HjbICo5uh9l7QxrTdK1Huw+LcNucReJarLA28Evvs7BmGxH7gDpySIntuVX
         r+XRDZuXCJ7X4BRoqbkYlyz7Lkx5saDJIq01CFPBK0PpkP63Vg//VTNIoOrIcwLrqEdI
         IUoMu31N9a1gVtyo+vLqofVyaOqptFA3Bm1rMiXyHHkpiVJCXINDYfoZnQhNkSu62Un0
         f3w1qYqsr0I3PmZAQuZOLgXsabMvUp+uMejzhS3mzBHIWkP70mUnqU/D+PmGmWkVl5Ms
         MouyAY2kl4OhIA//AMdBDtIyemrpYWQ7Xh862Wa/k+vX1Ti7MA/qHmGERoScNNeTqSKI
         bFmQ==
X-Gm-Message-State: AA6/9RnhmHKMWudjKrc5JjSQXifawmA6lxlDqF4N3jEgo+rjuJFY96hICMvOv+LAmfgrKA==
X-Received: by 10.36.68.74 with SMTP id o71mr3664065ita.12.1476448521801;
        Fri, 14 Oct 2016 05:35:21 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.38.213 with SMTP id i21ls7989404otd.8.gmail; Fri, 14 Oct
 2016 05:35:21 -0700 (PDT)
X-Received: by 10.237.34.240 with SMTP id q45mr10630523qtc.136.1476448521195;
        Fri, 14 Oct 2016 05:35:21 -0700 (PDT)
Original-Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com. [2607:f8b0:400d:c09::235])
        by mx.google.com with ESMTPS id i123si9556204qka.85.2016.10.14.05.35.21
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 14 Oct 2016 05:35:21 -0700 (PDT)
Received-SPF: pass (google.com: domain of daniel.kruegler@gmail.com designates 2607:f8b0:400d:c09::235 as permitted sender) client-ip=2607:f8b0:400d:c09::235;
Original-Received: by mail-qk0-x235.google.com with SMTP id n189so146107923qke.0
        for <std-proposals@isocpp.org>; Fri, 14 Oct 2016 05:35:21 -0700 (PDT)
X-Received: by 10.194.107.162 with SMTP id hd2mr1842574wjb.0.1476448520723;
 Fri, 14 Oct 2016 05:35:20 -0700 (PDT)
Original-Received: by 10.28.63.145 with HTTP; Fri, 14 Oct 2016 05:35:20 -0700 (PDT)
In-Reply-To: <d5b5e9e2-1110-41a9-92cc-1a9f54ac6b5a@isocpp.org>
X-Original-Sender: daniel.kruegler@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 daniel.kruegler@gmail.com designates 2607:f8b0:400d:c09::235 as permitted
 sender) smtp.mailfrom=daniel.kruegler@gmail.com;       dmarc=pass (p=NONE
 dis=NONE) header.from=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: <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:28835
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/28835>

2016-10-14 14:22 GMT+02:00 Ivan G. <nekotekina@gmail.com>:
> Yes, it's effectively constexpr std::find_if. Can it itself become constexpr
> in future? I also tried to imagine how it could work for C string arrays,
> but maybe it needs totally different function.

It is definitively possible to follow that path. There was a very
general proposal

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0202r1.html

and albeit it wasn't voted in during the Oulu meeting for C++17, LWG
was happy with it.

- Daniel

-- 
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/CAGNvRgDs%2B1LVuw0qft2Qc%2B%3DNkWivVqm5Go3g4YVgiUAWy7i-YQ%40mail.gmail.com.

.
