220 13676 <555dce3a-8f1c-475d-81c0-9dc56846f03a@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: walter1234 <walter2bz@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: extention methods or UFCS
Date: Sat, 4 Oct 2014 20:32:31 -0700 (PDT)
Lines: 72
Approved: news@gmane.org
Message-ID: <555dce3a-8f1c-475d-81c0-9dc56846f03a@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_5084_462084247.1412479951275"
X-Trace: ger.gmane.org 1412479986 2972 80.91.229.3 (5 Oct 2014 03:33:06 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 5 Oct 2014 03:33:06 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDO7FOW36ILRB2PXYKQQKGQEIG5O57Q@isocpp.org Sun Oct 05 05:33:00 2014
Return-path: <std-proposals+bncBDO7FOW36ILRB2PXYKQQKGQEIG5O57Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f72.google.com ([209.85.220.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDO7FOW36ILRB2PXYKQQKGQEIG5O57Q@isocpp.org>)
	id 1XacZ9-00007x-0E
	for gclcip-std-proposals@m.gmane.org; Sun, 05 Oct 2014 05:32:59 +0200
Original-Received: by mail-pa0-f72.google.com with SMTP id kx10sf26274031pab.11
        for <gclcip-std-proposals@m.gmane.org>; Sat, 04 Oct 2014 20:32:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe:content-type;
        bh=C6pEkQ+qq5KIsRQneUBhKu2vnMJigbctdEPS2bS0ojI=;
        b=h3rU9H3Prj8d50dWtMj19pN77HV8SH60jifhhdKP8GP1hLs0k/G9t4t41D7XkaokGw
         sNmSEx3JIi9/+huKcEuk8A1hp9FacZQKWGjCzrceCbB0/SX15W+gEcruT+FCOlhjzvGb
         AELC2FY/UY5JAJJCmljXmX1zPItq/Jc9CjARp1xzn8umpjO3Zqoqy1DsTcZBC5iwr+pc
         GYiTqORi+ormJDushAYb64YnuYG50r32xFlQiSXwRSGOxZzXPAzVu/LT5Tu/fPh/xma1
         9ChwUDvxBqPz7TC+mML6ggY33L5Do4c1Xj87KaP5lUgAFJSxrP+2eE8kHAH9Rwrv/Xd+
         +a1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=C6pEkQ+qq5KIsRQneUBhKu2vnMJigbctdEPS2bS0ojI=;
        b=MjFg+M1PWJsLCPzdQv7nKubV0PQp15z2x+DhkrzLu0FJ478YO07gkT9hvOVqCsfeTB
         ST0AWrAo1JJl1QgRt1PEvQXSdTcwxPZ0jAT2irHZjCiBXfTZF54P1L8e0Lge9FEREaKZ
         NLcR1XMGwqYeuKJ66KZwLRXcC/1poz61VbZlfnbbp7nXvI1RTGanqQ5J28Qfo/iOmXZ2
         PQwgDNmzf/RNd5rBQKnnfdgbnsOz/45e2mSLmm0LyozEAj8D78plaEWDLq386l8BuvRl
         +af/1sBFFJZVg+QWmuQa6Xaxfsh7JdtorJLwE1XT5Agx7Y+LW1FE5RUJSMlBbkpRjrXm
         uumg==
X-Gm-Message-State: ALoCoQleJnysBfj9NxkjBm2jQn5Z/Nh5G5glDHUAWQAIZ3Z6POmF32phJIQv3L62vM/KAmymOEWm
X-Received: by 10.66.65.75 with SMTP id v11mr11911584pas.30.1412479977730;
        Sat, 04 Oct 2014 20:32:57 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.41.179 with SMTP id z48ls1615399qgz.82.gmail; Sat, 04 Oct
 2014 20:32:57 -0700 (PDT)
X-Received: by 10.140.93.79 with SMTP id c73mr2443qge.9.1412479977010;
        Sat, 04 Oct 2014 20:32:57 -0700 (PDT)
X-Original-Sender: walter2bz@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:13676
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/13676>

------=_Part_5084_462084247.1412479951275
Content-Type: text/plain; charset=UTF-8


How much support or interest is there in the C++ community for either of 
these at the minute.

Has anyone tried to extend any C++ compiler to add these?

If someone added them in a nonstandard fork, what would be the chances of 
getting them accepted in a mainstream compiler (behind a toggle).


it's absence my biggest gripe in the language (asymmetry between methods & 
functions, & how it interacts with header files);

Of everything i've seen, my favourite solution is D's UFCS idea. Rusts' 
traits/impls are ok, but they have their own annoyance (I prefer how open 
free-functions are)

its' about ease of refactoring between methods/free-function code, and 
readability (having the convenient chaining/aproximate-infix syntax always 
available)

extention methods wouldn't be expected in vtables, just for compile-time 
dispatch.

-- 

--- 
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/.

------=_Part_5084_462084247.1412479951275
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div>How much support or interest is there in the C++ =
community for either of these at the minute.</div><div><br></div><div>Has a=
nyone tried to extend any C++ compiler to add these?</div><div><br></div><d=
iv>If someone added them in a nonstandard fork, what would be the chances o=
f getting them accepted in a mainstream compiler (behind a toggle).</div><d=
iv><br></div><div><br></div><div>it's absence my biggest gripe in the langu=
age (asymmetry between methods &amp; functions, &amp; how it interacts with=
 header files);</div><div><br></div><div>Of everything i've seen, my favour=
ite solution is D's UFCS idea. Rusts' traits/impls are ok, but they have th=
eir own annoyance (I prefer how open free-functions are)</div><div><br></di=
v><div>its' about ease of refactoring between methods/free-function code, a=
nd readability (having the convenient chaining/aproximate-infix syntax alwa=
ys available)</div><div><br></div><div>extention methods wouldn't be expect=
ed in vtables, just for compile-time dispatch.</div></div>

<p></p>

-- <br />
<br />
--- <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 />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_5084_462084247.1412479951275--

.
