220 39419 <5f2e7892-9182-308f-c62f-12136ba961a8@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Matthew Woehlke <mwoehlke.floss@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Revive the unified call syntax.
Date: Thu, 26 Jul 2018 14:21:53 -0400
Lines: 35
Approved: news@gmane.org
Message-ID: <5f2e7892-9182-308f-c62f-12136ba961a8@gmail.com>
References: <7d32d6f0-77fd-4be5-a96e-0169bd5921c6@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 1532629192 27641 195.159.176.226 (26 Jul 2018 18:19:52 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 26 Jul 2018 18:19:52 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC37LBFWUIFBBQ5C5DNAKGQEXNEF3KA@isocpp.org Thu Jul 26 20:19:48 2018
Return-path: <std-proposals+bncBC37LBFWUIFBBQ5C5DNAKGQEXNEF3KA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qt0-f200.google.com ([209.85.216.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC37LBFWUIFBBQ5C5DNAKGQEXNEF3KA@isocpp.org>)
	id 1fikrZ-00073V-W5
	for gclcip-std-proposals@m.gmane.org; Thu, 26 Jul 2018 20:19:46 +0200
Original-Received: by mail-qt0-f200.google.com with SMTP id i10-v6sf1953497qtp.13
        for <gclcip-std-proposals@m.gmane.org>; Thu, 26 Jul 2018 11:21:57 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1532629316; cv=pass;
        d=google.com; s=arc-20160816;
        b=zT6G8h+KvU2JmTcbqSPcAbjI3l/Te/9I+jBAqkY+40cCWcOcj0Vfde5XgVpgnqjlip
         1T+7U5MBzzxvzm/9nPM5QKq0dR8S2WjVAZESM5AF30abfPIDXrWT63j7wjNX7n356D7d
         JX/jasFYvq8do/Uwo3LVxq2KgNLmG4S5gAqcvzLPhO9p3kazX+Lrv8Bic876hORruAzj
         mmLNDzkqQdt1kcjK4KeOTkLo+LfqklzshT8H4zKpxlcwRpNnsf10BricjxWJw5ICcLnE
         8KrrrJWzVTleF8ohtA+fmRpodxTCxhtG7JQUaRe2lrGBtLlJHDslrzoZ12As6NBwJ36S
         hKfA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:content-language
         :in-reply-to:mime-version:user-agent:date:message-id:openpgp:from
         :references:to:subject:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=wNqOI1s9gRQl6EEWEohREuPHbw+vpZljE98RFA1DbIQ=;
        b=a4JkYaYHPro/6B0js7D6ctUZUfa02gnad8lAyfNC0Qf5HtCk1wO7/U6ocS2NyLusQT
         5Us9/e74vA4v8cLqDc5LSlqRuGTt19dZviEOToN7jEqpGxH++Nbd29I7uJwLeUNcJLbS
         HQbDKSt558/lhHf9aPQgY0nYG9UdKYgLVomh8iFTH0KdiWww7dIwBWKLRSc3+4aOwoHr
         jhx50MaFA5jLT3ip3EcPbW57qNB04P/xIc0zHZJkV0ADN6wT+M3lOvPNeIQr0IqEg9QH
         jOyv1a6YbfW4JJoerGuPlxE0Dsd+0Cau52YBchaAJGCLSCaCzZ7shuLKRq/l3n33psup
         Yl 
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b="pRT1rQu/";
       spf=pass (google.com: domain of mwoehlke.floss@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=mwoehlke.floss@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=subject:to:references:from:openpgp:message-id:date:user-agent
         :mime-version:in-reply-to:content-language: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=wNqOI1s9gRQl6EEWEohREuPHbw+vpZljE98RFA1DbIQ=;
        b=XcuNcLU1gQfgzgs9tMnNcQxuEYUlBaYsaKcN3oTadsKH2aEDsWbaS4KhOO/PDoMWhQ
         xdPFwXpd/4xLCuj9j0N1PUq4JZYXS8lf1IF6mHzEjKYgjYJryJXoCwnmR4/ycpquKedi
         Wq7uYzPrdxdl4Wh+esowahZZSzXSojgbso42G+c37TyQ10s8Clx7e2hPjfH+5nwst66Z
         ZkW/3PiOOj0PDRjHjja4oLikrM8VPbNQ6LH6oiR5bdfgxWB6Rv0moK0i9AyEgozdBjSN
         1eE8E4BG0dGPIpojc2wSE6aw6CVwbO3gWY3tLQF6Kw1J2famXBz4OOmRNc+nrB03OhYY
         tY3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:openpgp:message-id
         :date:user-agent:mime-version:in-reply-to:content-language
         :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=wNqOI1s9gRQl6EEWEohREuPHbw+vpZljE98RFA1DbIQ=;
        b=roVweyowFKOfkGWs8OzRNbZgSsFYejMs2qYgoinLt10Iqda0aRODc045P+4oFEJN7k
         ZK2S4bxiWdRubiWuT5sLipnLY+KKPRI9BbFAx9/3/2WV+gD3LmWwZvzMb1oe0HhXGCUx
         nKLRziHu8xnP+ya5FYbEW511J0944XYDGlKhi40sGiAgK9rZslMav7MgR1BdLLJuMRCr
         D+p8x8CJQkKGQmbCjRcJpxjReJmhLDvcE4QzH1Y1kisRxkhTZnbbqxGpb+xBVEnNY1he
         Orm89ScmVWNXfnG6In50skGnR87UjT0UAisaU++yxYBaFDF4Gnx+b31CctMuA5r6p/IE
   
X-Gm-Message-State: AOUpUlHOq16/MX+S1CS39J6XWZK+RqFcSEraCG/CypzF/g3kOtCCeL+g
	rFodu/FyhTIGrifTP+IELXXMwA==
X-Google-Smtp-Source: AAOMgpd53fotABnbgof9dkjS33OdsoQqIrb1fs3oKJsO5jw8OwsL2wlafLLuK4VGlPNXoMJC5oW7ow==
X-Received: by 2002:a0c:b488:: with SMTP id c8-v6mr1466837qve.19.1532629316445;
        Thu, 26 Jul 2018 11:21:56 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:ac8:6612:: with SMTP id c18-v6ls486711qtp.0.gmail; Thu, 26
 Jul 2018 11:21:55 -0700 (PDT)
X-Received: by 2002:aed:3f1d:: with SMTP id p29-v6mr2875155qtf.320.1532629315407;
        Thu, 26 Jul 2018 11:21:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1532629315; cv=none;
        d=google.com; s=arc-20160816;
        b=qBkoewCgF7AgV/459WLdDsm17gW9n+OKdOhEZWFIg/JpVmjhJ7z2QZHxW1Rm85Egxs
         IoXX6CSmtENw5NYGbp+eTG/G9KV8AoToTnIIklmr1aygCODftIHpImWXDX5Jz/x4q0uz
         2dXSzGEpY5zxww1gqvgXPfTA2XYpjbWQA9JcFYxhu/aBDE0zdq4cSQXmz7rftHPTseIl
         eLpGc3ks938TeMBZ1iQOaTnftB9BdBl03TITwJNVzG0TQKYN/x50grsTXdbnzRLkuNh5
         eVCPSlDL4aSbm80dSaf3c61q+MpKngz4GlON4hgMcb9LRYcow78SzqBx8smf8h8ZeW86
         A1tw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:content-language:in-reply-to:mime-version
         :user-agent:date:message-id:openpgp:from:references:to:subject
         :dkim-signature:arc-authentication-results;
        bh=U4YFAcDH0nPvIfIwn/kXU+Vc9deHlOJ2+xJx/CMh9lU=;
        b=ynYDrpdwom5Sa10+ng87jkoq5jpEEbh9s9BGATsl359oLsCkjX0czJDUMMd1j9QbkT
         ZoQhUg7PQR74a9rO4JSLk47v8lU8YEAx1W+b88bMGvkAhjr8l3c3fO1wEVbNxXW6+MtY
         xedzz/W1EqcGoctceDIBD2r+zdHVStv396QrzJTgvJQBOE7yqx1cevXaL9rUQi5mbyiJ
         RTmph+Gg9btqaM8ZKMgmCxeEl1ZskkDgO5M5sUgRLJzk7jjCqzy06PgAnNgXLQTCVWeR
         Zxr4nuA0Zjmenlyd077Mr6qV5jq462ohRGGl7kpdtGhOxGjfZ5yqFQ60W1NnCZw0jK4R
         /Zeg==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b="pRT1rQu/";
       spf=pass (google.com: domain of mwoehlke.floss@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=mwoehlke.floss@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id q47-v6sor1021828qtg.10.2018.07.26.11.21.55
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Thu, 26 Jul 2018 11:21:55 -0700 (PDT)
Received-SPF: pass (google.com: domain of mwoehlke.floss@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:ac8:26ee:: with SMTP id 43-v6mr3025772qtp.274.1532629314906;
        Thu, 26 Jul 2018 11:21:54 -0700 (PDT)
Original-Received: from gryphon.kitware.com (tripoint.kitware.com. [66.194.253.20])
        by smtp.googlemail.com with ESMTPSA id t11-v6sm1486524qkt.28.2018.07.26.11.21.53
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 26 Jul 2018 11:21:53 -0700 (PDT)
Openpgp: preference=signencrypt
In-Reply-To: <7d32d6f0-77fd-4be5-a96e-0169bd5921c6@isocpp.org>
Content-Language: en-US
X-Original-Sender: mwoehlke.floss@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b="pRT1rQu/";       spf=pass
 (google.com: domain of mwoehlke.floss@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=mwoehlke.floss@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE 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-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:39419
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39419>

On 2018-03-14 21:18, yakitori1010@gmail.com wrote:
> i very hope revive Unified Call Syntax.i say as UCS.
> UCS is very visualizerble function chain.so good.

Apologies for the thread necro, and this isn't *quite* in the same
vein... but I had the same thought just the other day. (That said,  I
will also acknowledge that I think I might have voted *against* UCS a
while back. Eh, well... it has concerns as well as benefits, what else
can I say?)

Specifically, I wanted to use this little helper:

  template <typename Container, typename Key>
  auto get(Container const& c, Key const& key)
    -> decltype(std::addressof(*c.find(key)))

....but alas, it doesn't work on vectors. I could rewrite it using
`std::find`, but does that DTRT on associative containers that have some
form of fast look-up? And do I want `std::find`, or `find` in an
associated namespace? Because... it's super awkward to write the latter
(no `using namespace` inside of `decltype`).

Now, I realize in this specific instance I can probably answer those
questions... that's not the point. This comes up also with `swap`,
`begin` and so forth. UCS could drastically simplify this sort of thing.

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/5f2e7892-9182-308f-c62f-12136ba961a8%40gmail.com.

.
