220 25239 <ncehpk$673$1@ger.gmane.org> article
Path: news.gmane.org!not-for-mail
From: Matthew Woehlke <mwoehlke.floss@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposal idea: Allow auto template parameters for
 integral types
Date: Thu, 17 Mar 2016 11:17:08 -0400
Lines: 41
Approved: news@gmane.org
Message-ID: <ncehpk$673$1@ger.gmane.org>
References: <6920af70-300e-4d2a-9400-4e2617d2c739@isocpp.org>	<9e576af1-38dd-4931-9b89-0dffef59fef1@isocpp.org> <CAFk2RUbs5Zrc_oUKbwt5x9qFfy2fNB0=a=CHskb17J_7SNDBxQ@mail.gmail.com>
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 1458227866 7014 80.91.229.3 (17 Mar 2016 15:17:46 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 17 Mar 2016 15:17:46 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC37LBFWUIFBBC4VVO3QKGQE32CRZMA@isocpp.org Thu Mar 17 16:17:37 2016
Return-path: <std-proposals+bncBC37LBFWUIFBBC4VVO3QKGQE32CRZMA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm0-f71.google.com ([74.125.82.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC37LBFWUIFBBC4VVO3QKGQE32CRZMA@isocpp.org>)
	id 1agZg5-00044J-G2
	for gclcip-std-proposals@m.gmane.org; Thu, 17 Mar 2016 16:17:33 +0100
Original-Received: by mail-wm0-f71.google.com with SMTP id l124sf11781909wmf.2
        for <gclcip-std-proposals@m.gmane.org>; Thu, 17 Mar 2016 08:17:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=to:from:subject:date:lines:message-id:references:mime-version
         :user-agent:in-reply-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=f2oktxqbreawjhwVyVFEdeAobWKCQ8Txlits4gNXalM=;
        b=toxz2BYdTrtFui+pmPnWP61IbIKRYU85frPveGikcFOGdYJsDHPdt13VHh9xmQO7jt
         kOUkkDHs7t2Ydki9Cwqyymyx35SZp7MTfZoNZZE/3YwjKN57fSMzaNV7vonvwGBYaGxk
         9sfdjhDRUVbBGJ4W3MIthgyWcvkv/U7uZgjr6R3cJ9Ktm7xAohll2gunTSN6t7i6WLKk
         UcdccBixd41IhbT0/Vf45fUI8iWM0NUxptJ9HssTbfgX/l+L8nn/7xmnhOqCVcT1KV78
         XnisW99uv9MVaORwhQpuacY7eGzSz/0ltLVuYh2liQeAHFWDMx94t4Gok//YCDCRr6EC
         +FHA==
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:user-agent:in-reply-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=f2oktxqbreawjhwVyVFEdeAobWKCQ8Txlits4gNXalM=;
        b=EehM45ewsRhtSXv9jdPuDsvrgVVkCdpShz9mmCHkjTSNkQ1PgkvrpNcxYdOGB7FXJD
         MwkGtksCfhap2sBO5hARvE5ne61MinWEf4F3o+j1WGLicpUDtdOQKo6ojM26XGOckrk5
         9zS6T6nDp4f6KVRPr0/M/W3/mjRd7DoHw0oi7a+3YcdzSxG6ytXWx5+W103Rg6zZ+xzZ
         F0O4lTrqjnSMja/66+LlVMbz8ex/YHnjadopwVpFKSH08spV60hdhzOibrfNXGNgAsXL
         uaz2Lz1E45NDLtkMTrloXim05Yfiq771BAHB+nlsPZ4TLYL4BFaoPhnNJWAy2Rrkc4G6
         B41w==
X-Gm-Message-State: AD7BkJKmxpKsE8fAeo/7Jkrg2hV8ENosHFRIpeJ4lziUTWspV/D1EpeXTD5zURusxemW9Q==
X-Received: by 10.28.170.65 with SMTP id t62mr1566252wme.6.1458227852994;
        Thu, 17 Mar 2016 08:17:32 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.25.161.18 with SMTP id k18ls330329lfe.95.gmail; Thu, 17 Mar
 2016 08:17:30 -0700 (PDT)
X-Received: by 10.112.55.97 with SMTP id r1mr3787009lbp.78.1458227850356;
        Thu, 17 Mar 2016 08:17:30 -0700 (PDT)
Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3])
        by mx.google.com with ESMTPS id aq5si4275860lbc.148.2016.03.17.08.17.30
        for <std-proposals@isocpp.org>
        (version=TLS1 cipher=AES128-SHA bits=128/128);
        Thu, 17 Mar 2016 08:17:30 -0700 (PDT)
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 1agZfz-000404-4K
	for std-proposals@isocpp.org; Thu, 17 Mar 2016 16:17:27 +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>; Thu, 17 Mar 2016 16:17:27 +0100
Original-Received: from mwoehlke.floss by tripoint.kitware.com with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <std-proposals@isocpp.org>; Thu, 17 Mar 2016 16:17:27 +0100
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 34
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.7.0
In-Reply-To: <CAFk2RUbs5Zrc_oUKbwt5x9qFfy2fNB0=a=CHskb17J_7SNDBxQ@mail.gmail.com>
X-Original-Sender: mwoehlke.floss@gmail.com
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.mailfrom=gclcip-std-proposals@m.gmane.org;
       dmarc=fail (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-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:25239
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/25239>

On 2016-03-17 09:48, Ville Voutilainen wrote:
> On 17 March 2016 at 15:42, Kamikaze Dominic Fandrey wrote:
>> On Thursday, 17 March 2016 14:28:53 UTC+1, Kamikaze Dominic Fandrey wrote:
>>> template <class EnumT>
>>> struct foo_result;
>>>
>>> template <class EnumT>
>>> using foo_result_t = typename foo_result::type;
>>>
>>> template <class EnumT, EnumT EnumVal>
>>> foo_result_t<EnumT> foo();
>>
>>
>> The alias is of course supposed to be:
>>
>> template <class EnumT>
>> using foo_result_t = typename foo_result<EnumT>::type;
>>
>> Why can I not fix this in the original post?

Are you trying to edit an e-mail? You can't do that after it's sent...

> See
> http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/p0127r0.html

Thanks; I knew that feature request looked familiar :-).

@Dominic, I believe this (P0127) is currently in "forwarded to Core"
status. I don't see any record that Core got to it in Jacksonville, so
it's probably on the docket for Oulu, so there is hope that it will be
in C++17.

-- 
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/ncehpk%24673%241%40ger.gmane.org.

.
