220 30854 <6ec345ce-2084-4678-a5a9-0a8a74c857eb@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: aliasing free and member functions
Date: Thu, 9 Feb 2017 15:59:17 -0800 (PST)
Lines: 63
Approved: news@gmane.org
Message-ID: <6ec345ce-2084-4678-a5a9-0a8a74c857eb@isocpp.org>
References: <336fec92-ee03-461d-9b60-26a45942c3b1@isocpp.org> <032fdd0e-664b-45d4-9314-5b6e3b17ed84@isocpp.org>
 <CABm2roSMjLi994adm=fz430gsaiSDW0OV451Y4BeLmDoJsBY_A@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_1504_808954325.1486684758045"
X-Trace: blaine.gmane.org 1486684758 32712 195.159.176.226 (9 Feb 2017 23:59:18 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 9 Feb 2017 23:59:18 +0000 (UTC)
Cc: jmckesson@gmail.com, najjarchedy@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBVUE6TCAKGQEPFAMA5Q@isocpp.org Fri Feb 10 00:59:14 2017
Return-path: <std-proposals+bncBCEKFTV6ZUMBBVUE6TCAKGQEPFAMA5Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f197.google.com ([209.85.161.197])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBVUE6TCAKGQEPFAMA5Q@isocpp.org>)
	id 1cbycL-0008Cr-Ny
	for gclcip-std-proposals@m.gmane.org; Fri, 10 Feb 2017 00:59:13 +0100
Original-Received: by mail-yw0-f197.google.com with SMTP id q71sf22354177ywg.1
        for <gclcip-std-proposals@m.gmane.org>; Thu, 09 Feb 2017 15:59:19 -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=1BvXNj77Koqpx8Z417yiHth3tOZ9OKamAUP8PTtR3Os=;
        b=ftKAfqqXMJVuRJqdETsUq/BZyIG/FxZfCnvMYX+zbiOIILv7ApGvYBmUK+paB84A5x
         xM2/gj0qTU5TZbZw3APGP5L8IOx3FGU7Jid0BNbQUzKD92IPOBY3whc0xhCavqP77U/v
         ivjWHvcSXjsN4D7F3v3T9iRfm69++Ss+QAwZJMZZNZ35+Bf4aq3pPI5SpG/u4rf2yzfG
         ydyoUpq/aiFC5GuxPWDChx4nDR30QY4h+/4BP+C1ebAtjl7zHOY22Q788VGXxb5mPRHC
         X750aQ0xO+2cbJ9NFakuBfHAVpKcUJAz3I0h1QNm5YBlMkYrRRc1H17j90aWUiA+HW9A
         0aSg==
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=1BvXNj77Koqpx8Z417yiHth3tOZ9OKamAUP8PTtR3Os=;
        b=N0Tmkfa2yJwqumB7Ke0LCdIZhB3gznWoEuE48CzdDQbH9fXx8pIKP9rnhzinCweHKJ
         u1WPGsRTGhalDrE6iklGhHuuCc055LQsoK0dh7xk9sSOfuvsbewy9mtEZOEt4kzCS/JF
         +a6MNY8KGkcFTisIyBBfDkj/QnE7CoprbXqdjVSNJkJ05HnOuADE1dFa37Gn7d6Uw+Ps
         7IyyPll7On5s98Dzk46ASnO7usbBU10ro17NzlvbwJoaEskp8dh54TvbbXW2UTTyjSiJ
         Rwfduz4VTR/ykFrlaYJNR01xhVs3nDDAsG5dkuYdP7doLdm1KxpOZJKqhUxEzsRGMcpi
         6rdA==
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=1BvXNj77Koqpx8Z417yiHth3tOZ9OKamAUP8PTtR3Os=;
        b=tjIOYOoKyatir25rkKuRz973v38ZsEgqaxvCxvzkbKzir8F+M9bzL0W306eRba675A
         na1yQzPWupmb3GSYG1E64GlMwqFzB1RsLQY1WFfjQVlgfEec/Xm2wlZE1fUnouiiO0xo
         rUHcEEYZiZ6JxObi6LQOdPdzhfUJWHaCI+5iwwZ6eyMy3iXCMD8WNmuDS9Knbkh6KK65
         0bJiTF/3j6BEQNNUKH0Uk6xe8T1MA/eRLStLYXbJ2pWZQVfWWsQJcRmizUuzhOS9LNJv
         zVNBeBLnMFEakva5bjDIzhvUA3fiCIL0udd+A51mmxIiLt9EpnAFRiVybIt9OxYb8hAm
         eXkA==
X-Gm-Message-State: AMke39lF1goxK3Nmos/SEmO1GyrHlHIdOyhTMD7m2pqrNBiwa8YygX/pWkYlWoLIUD5C8g==
X-Received: by 10.13.219.80 with SMTP id d77mr2005654ywe.17.1486684759233;
        Thu, 09 Feb 2017 15:59:19 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.38.42 with SMTP id a39ls23987599otb.26.gmail; Thu, 09 Feb
 2017 15:59:18 -0800 (PST)
X-Received: by 10.157.62.29 with SMTP id a29mr500435otd.5.1486684758601;
        Thu, 09 Feb 2017 15:59:18 -0800 (PST)
In-Reply-To: <CABm2roSMjLi994adm=fz430gsaiSDW0OV451Y4BeLmDoJsBY_A@mail.gmail.com>
X-Original-Sender: jmckesson@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:30854
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/30854>

------=_Part_1504_808954325.1486684758045
Content-Type: multipart/alternative; 
	boundary="----=_Part_1505_467657972.1486684758045"

------=_Part_1505_467657972.1486684758045
Content-Type: text/plain; charset=UTF-8

On Thursday, February 9, 2017 at 6:49:17 PM UTC-5, chedy najjar wrote:
>
> this:
>
> struct foo {
>      int fn_foo() {  return 0;}
> };
>
> using alias = foo::fn_foo;
>
>
Yeah, that doesn't really explain much. What is `alias` here? What can I do 
with it?

Most important of all: what problem are you trying to solve? 

-- 
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/6ec345ce-2084-4678-a5a9-0a8a74c857eb%40isocpp.org.

------=_Part_1505_467657972.1486684758045
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Thursday, February 9, 2017 at 6:49:17 PM UTC-5, chedy n=
ajjar wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-lef=
t: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><=
div>this:<br></div><div><br>struct foo {<br></div>=C2=A0=C2=A0=C2=A0=C2=A0 =
int fn_foo() {=C2=A0 return 0;}<br><div>};<br><br></div><div>using alias =
=3D foo::fn_foo;</div></div><br></blockquote><div><br>Yeah, that doesn&#39;=
t really explain much. What is `alias` here? What can I do with it?<br><br>=
Most important of all: what problem are you trying to solve? <br></div></di=
v>

<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/6ec345ce-2084-4678-a5a9-0a8a74c857eb%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/6ec345ce-2084-4678-a5a9-0a8a74c857eb=
%40isocpp.org</a>.<br />

------=_Part_1505_467657972.1486684758045--

------=_Part_1504_808954325.1486684758045--

.
