220 13497 <CAFk2RUaXJHigi-bC2934TFvTkrfchBFhXc347_Y1GPMzuPDuRw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Generalizing the equivalence of auto and
 template type deduction
Date: Thu, 2 Oct 2014 12:13:09 +0300
Lines: 20
Approved: news@gmane.org
Message-ID: <CAFk2RUaXJHigi-bC2934TFvTkrfchBFhXc347_Y1GPMzuPDuRw@mail.gmail.com>
References: <b34d67b1-53fb-449e-be78-579bd0e48f31@isocpp.org>
	<0bf78c13-6ee2-4a9a-9de5-5ce2dc0e5a66@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 1412241199 14622 80.91.229.3 (2 Oct 2014 09:13:19 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 2 Oct 2014 09:13:19 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBJNOWSQQKGQEP2OOJTA@isocpp.org Thu Oct 02 11:13:13 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBJNOWSQQKGQEP2OOJTA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f200.google.com ([209.85.223.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBJNOWSQQKGQEP2OOJTA@isocpp.org>)
	id 1XZcRk-0007oh-4W
	for gclcip-std-proposals@m.gmane.org; Thu, 02 Oct 2014 11:13:12 +0200
Original-Received: by mail-ie0-f200.google.com with SMTP id rl12sf8031372iec.11
        for <gclcip-std-proposals@m.gmane.org>; Thu, 02 Oct 2014 02:13:10 -0700 (PDT)
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:date
         :message-id:subject:from: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:content-type;
        bh=6Dza7F7cqXZD7fSihLOq6XHffBVwjf+2xwIVcLTv230=;
        b=mKI0IDaBA/qzLqzLByQn8LYLiExn1sIqgiz5EyfDo0+4RNRfPLggi+eF8pVraaJDw+
         daNYUdQXfC48ARfnIqHAW3dut4/LUJqkXZv1LuZqZv4CSMx9W7BfTT3oF/fFqE7Ixnil
         MDvQvbCU0pPo67BIooS9aQoz0vlGOYRl/fWe+PmNy0xJx1JxGAcAZCrVNYp8B/wcYdB/
         b5q5NZDWxV+1fXu/4ZIPBMD3+OpdtonUAGS5Dl7e+/KKybiaAZb0t8Jz82pp4pprdqah
         lxMXG3q7+gBBu8pfF2O1krMHqPUY5uXlXCvyz7JrZxpzbQ13CJu2jQTC02KvvOZM5o2N
         0sGQ==
X-Gm-Message-State: ALoCoQnJxseIcWClI8JwStVzx9HUFntKPFjCHEIWhQZgoEljyFgziAcKlXOIjCKHST/AGe40QLUW
X-Received: by 10.182.166.73 with SMTP id ze9mr50121596obb.4.1412241190273;
        Thu, 02 Oct 2014 02:13:10 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.176.39 with SMTP id cf7ls328042obc.89.gmail; Thu, 02 Oct
 2014 02:13:09 -0700 (PDT)
X-Received: by 10.182.209.101 with SMTP id ml5mr63579877obc.2.1412241189685;
        Thu, 02 Oct 2014 02:13:09 -0700 (PDT)
Original-Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [2607:f8b0:4003:c06::236])
        by mx.google.com with ESMTPS id ts9si6267959oeb.39.2014.10.02.02.13.09
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 02 Oct 2014 02:13:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4003:c06::236 as permitted sender) client-ip=2607:f8b0:4003:c06::236;
Original-Received: by mail-oi0-f54.google.com with SMTP id v63so1601885oia.27
        for <std-proposals@isocpp.org>; Thu, 02 Oct 2014 02:13:09 -0700 (PDT)
X-Received: by 10.182.186.73 with SMTP id fi9mr64457697obc.0.1412241189541;
 Thu, 02 Oct 2014 02:13:09 -0700 (PDT)
Original-Received: by 10.76.24.198 with HTTP; Thu, 2 Oct 2014 02:13:09 -0700 (PDT)
In-Reply-To: <0bf78c13-6ee2-4a9a-9de5-5ce2dc0e5a66@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:4003:c06::236 as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass
 header.i=@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: <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:13497
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/13497>

On 2 October 2014 11:43, Tomasz <tomaszkam@gmail.com> wrote:
> My proposal is that every use of placholder (today we have only auto, but
> concept name would be a possible extension) would introduce separate
> typename, so:
> std::pair<auto, auto> p = f();
>
> Would use equivalent deduction as:
> template<typename T1, typename T2>
> void foo(std::pair<T1, T2>);

That's already how it works.

-- 

--- 
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/.

.
