220 30752 <b2f08945-41e8-4992-b13a-826d7c0a796a@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: David Stone <deusexsophismata@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: template template aliases?
Date: Thu, 2 Feb 2017 18:55:40 -0800 (PST)
Lines: 49
Approved: news@gmane.org
Message-ID: <b2f08945-41e8-4992-b13a-826d7c0a796a@isocpp.org>
References: <CAAvM5f8JOZqCzNwB3iKqD_wBACVL_j4EA95MbWR_yr1M=R7HbA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1491_186793585.1486090540885"
X-Trace: blaine.gmane.org 1486090541 15527 195.159.176.226 (3 Feb 2017 02:55:41 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 3 Feb 2017 02:55:41 +0000 (UTC)
Cc: richardsmith@google.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCB5ZIET2UNRBLPCZ7CAKGQERWKAPKA@isocpp.org Fri Feb 03 03:55:37 2017
Return-path: <std-proposals+bncBCB5ZIET2UNRBLPCZ7CAKGQERWKAPKA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f199.google.com ([209.85.223.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB5ZIET2UNRBLPCZ7CAKGQERWKAPKA@isocpp.org>)
	id 1cZU2D-0003ux-8o
	for gclcip-std-proposals@m.gmane.org; Fri, 03 Feb 2017 03:55:37 +0100
Original-Received: by mail-io0-f199.google.com with SMTP id j18sf10136469ioe.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 02 Feb 2017 18:55:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc: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=RFn+VEfuyBYRHFKyDig4t/B+hBnfDqERnVMBkfdVaf8=;
        b=HyB7ROGGYDW0G5EI0LtnWXTzId0opNx/XUJ2tzYPvmWWzl6aFfqCIxDZHD6UBIml9l
         bb+NLLO98cO1O0eBKqBSdE1Y9hDuvmQv46cNzUXSTjBDpyy6jL3nI8rPHKtczC2+Tv11
         3ZsITUnVojyApUVoshwT3QDFLgFnijXFup8srxGRz5Snodpq33X7xI7z+Sr/bBmDtB1u
         KO05ffNebtnlFKzcnXChELGPI8Ebwzj5Ueb5sjETF05SCOwhr2YKipUcQlQ1UspRzOiJ
         4Z/cpr3sDzvU09iqWaX0g6Lk6fGsi07qQdluev7yhjPVzWWbdE8XIm4Z5G9y30UKBO5+
         rj/A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc: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=RFn+VEfuyBYRHFKyDig4t/B+hBnfDqERnVMBkfdVaf8=;
        b=OuQJH4emqp2CxgZgUq6iXTikUh9n62VRzpk9rv5Tepscvjvw6hxhdLbfuJhIkHlFEE
         +eFMe/JouC9qaeqAF7Js/SR0CP91LSJEweKNWDp1oCcundm6nbUyrJ638K6YCCPcLe9/
         V9ZwDdTPZAXBenCQBnECcj/s9FLiZd9+yjoO1ZM9R2OvztEGrqhho9VR0swQoChPyBYo
         eG5jmYi4/++jgzFfhdAcIHBc8Lvp13O95AjQssvh63MCo5+qi4+yaTGdeENCVftl5FY8
         eAvlfP8PMvkf6p87v2xCzWAns68pjPl++m/SwVtdkJrIpDhSGsEErc1Bk24VDVWGKQ2H
         Bdjg==
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:cc: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=RFn+VEfuyBYRHFKyDig4t/B+hBnfDqERnVMBkfdVaf8=;
        b=P4gywlq4JaPW66luliJG/nUU+rimzz3AlM1OFuHYqnxceQUcGtt6LbjlNjb7uzvWML
         H2kdoOv7LQTSdMnebVsemg5+2bZjuGYVAxX5e/s/RuR3Slsb4rCH8Z7+FP5QJwE7dovB
         bOpZVAej4m6dDrbXaXHnZZ7TrXBFlUi33fyR0EArN2ir90QjK1hq7VF1vkmp+Q2zCzCT
         zCMCLOgvJVwWtVvZ+qQ+cwGAh9Mr4rIO9GvDnq52s05obW1lbzHCS9jFqaOKB8EhCLmj
         tPN00LKu/xsa9zWvACXYZ8MvdtIlHWpxijcmbqz4CaGRFzvPqcqGSmG9bYwr+vMljRl+
         7aWw==
X-Gm-Message-State: AIkVDXJlSCEOSrkv1mwBa/kwda16yFwLVocnQ73GnFtmOgOPdmaWdOXfpLRo0iX2pAgxtg==
X-Received: by 10.107.170.221 with SMTP id g90mr3367715ioj.20.1486090542289;
        Thu, 02 Feb 2017 18:55:42 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.17.23 with SMTP id g23ls6107536ote.24.gmail; Thu, 02 Feb
 2017 18:55:41 -0800 (PST)
X-Received: by 10.157.18.211 with SMTP id g77mr1222028otg.14.1486090541566;
        Thu, 02 Feb 2017 18:55:41 -0800 (PST)
In-Reply-To: <CAAvM5f8JOZqCzNwB3iKqD_wBACVL_j4EA95MbWR_yr1M=R7HbA@mail.gmail.com>
X-Original-Sender: DeusExSophismata@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:30752
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/30752>

------=_Part_1491_186793585.1486090540885
Content-Type: multipart/alternative; 
	boundary="----=_Part_1492_1830184067.1486090540885"

------=_Part_1492_1830184067.1486090540885
Content-Type: text/plain; charset=UTF-8

Another solution to the same problem would be to use "normal" functions / 
function objects and use something like boost::hana to convert the types to 
values. Then existing language features can be used (with better syntax in 
many cases). Instead of thing<int><int>, you would use 
thing(type<int>)(type<int>).

-- 
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/b2f08945-41e8-4992-b13a-826d7c0a796a%40isocpp.org.

------=_Part_1492_1830184067.1486090540885
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Another solution to the same problem would be to use &quot=
;normal&quot; functions / function objects and use something like boost::ha=
na to convert the types to values. Then existing language features can be u=
sed (with better syntax in many cases). Instead of thing&lt;int&gt;&lt;int&=
gt;, you would use thing(type&lt;int&gt;)(type&lt;int&gt;).<br></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/b2f08945-41e8-4992-b13a-826d7c0a796a%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/b2f08945-41e8-4992-b13a-826d7c0a796a=
%40isocpp.org</a>.<br />

------=_Part_1492_1830184067.1486090540885--

------=_Part_1491_186793585.1486090540885--

.
