220 9245 <CAGg_6+NJgqxP2B+J0oQ4xW1BqpeeSV4bqw_3XFODYAy0+9V4UA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Nevin Liber <nevin@eviloverlord.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: add "implicit" keyword?
Date: Mon, 10 Feb 2014 10:38:27 -0600
Lines: 67
Approved: news@gmane.org
Message-ID: <CAGg_6+NJgqxP2B+J0oQ4xW1BqpeeSV4bqw_3XFODYAy0+9V4UA@mail.gmail.com>
References: <ldauqr$63v$1@ger.gmane.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bb04f687e226f04f20ffaf9
X-Trace: ger.gmane.org 1392050342 12561 80.91.229.3 (10 Feb 2014 16:39:02 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 10 Feb 2014 16:39:02 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCE35H5S6IDBBLEB4SLQKGQEPZ3YXEI@isocpp.org Mon Feb 10 17:39:11 2014
Return-path: <std-proposals+bncBCE35H5S6IDBBLEB4SLQKGQEPZ3YXEI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f72.google.com ([209.85.215.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBBLEB4SLQKGQEPZ3YXEI@isocpp.org>)
	id 1WCtt0-0000Md-8v
	for gclcip-std-proposals@m.gmane.org; Mon, 10 Feb 2014 17:39:10 +0100
Original-Received: by mail-la0-f72.google.com with SMTP id pv20sf10275437lab.7
        for <gclcip-std-proposals@m.gmane.org>; Mon, 10 Feb 2014 08:39:10 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject: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=qm3yd3M/sEomxXmsfeTIsu6wEC2F86QGuboBy0QERCo=;
        b=E/GSkNGBN2fh3xhDsWgARu2m2eZrVMKR0wy2NHcVEYusBNKRma37ryOPbU4pRt+h0v
         lVEPXTqHQlRiuJW1JDOqPRIry84hz9IuvuvUjW5RCQzTu7U2WPsnAfiQ/83bVh+6rMra
         +YwpT4chLyG6yEJEM7iBgbJtsmx0L23xfsUUe6ThYsUGccMOnB7G88dE18rtzleAoaM1
         PjRopjs5HuUEnGF8dKl75PmAp1nuki2Iw1kNAqf8iNQ/uO9WXtyDpKRu7mJTYvq0oSQO
         IMlEgJDfjPQgRbMvEv7dxw3Dk6PYbuCZfltcv/re2u4ty6H+yOSxW8EVwk3guWu1QvgD
         WxUA==
X-Gm-Message-State: ALoCoQmW++/Mo59s9YJkpqWoCpxBx9R0bdkqNVGkwJm+UrDmiBbwpfilsqer35pF4rLxxXgiMmbu
X-Received: by 10.112.161.74 with SMTP id xq10mr13685653lbb.10.1392050349882;
        Mon, 10 Feb 2014 08:39:09 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.181.11.136 with SMTP id ei8ls539425wid.25.canary; Mon, 10 Feb
 2014 08:39:08 -0800 (PST)
X-Received: by 10.180.38.7 with SMTP id c7mr11452762wik.0.1392050348279;
        Mon, 10 Feb 2014 08:39:08 -0800 (PST)
Original-Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [2a00:1450:400c:c03::232])
        by mx.google.com with ESMTPS id vg1si7895493wjc.43.2014.02.10.08.39.08
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 10 Feb 2014 08:39:08 -0800 (PST)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 2a00:1450:400c:c03::232 as permitted sender) client-ip=2a00:1450:400c:c03::232;
Original-Received: by mail-we0-f178.google.com with SMTP id q59so4481866wes.9
        for <std-proposals@isocpp.org>; Mon, 10 Feb 2014 08:39:07 -0800 (PST)
X-Received: by 10.195.13.164 with SMTP id ez4mr22646021wjd.11.1392050347842;
 Mon, 10 Feb 2014 08:39:07 -0800 (PST)
Original-Sender: nliber@gmail.com
Original-Received: by 10.194.121.163 with HTTP; Mon, 10 Feb 2014 08:38:27 -0800 (PST)
In-Reply-To: <ldauqr$63v$1@ger.gmane.org>
X-Original-Sender: nevin@eviloverlord.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of nliber@gmail.com designates 2a00:1450:400c:c03::232 as permitted
 sender) smtp.mail=nliber@gmail.com;       dkim=pass header.i=@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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:9245
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9245>

--047d7bb04f687e226f04f20ffaf9
Content-Type: text/plain; charset=ISO-8859-1

On 10 February 2014 10:30, Matthew Woehlke
<mw_triad@users.sourceforge.net>wrote:

> Adding an "implicit" keyword would permit compilers to diagnose
> constructors and/or conversion operators which are in fact implicit
> according to the standard, but are not marked as such. This would provide a
> mechanism to warn programmers that a constructor or conversion operator is
> potentially dangerous, while allowing them to clearly specify when this is
> the intent.
>

But you still have to support not specifying "implicit" (or break huge
amounts of code), so I don't see what the keyword really buys you.
-- 
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404

-- 

--- 
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/.

--047d7bb04f687e226f04f20ffaf9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On 10 February 2014 10:30, Matthew Woehlke <span dir=3D"lt=
r">&lt;<a href=3D"mailto:mw_triad@users.sourceforge.net" target=3D"_blank">=
mw_triad@users.sourceforge.net</a>&gt;</span> wrote:<br><div class=3D"gmail=
_extra">

<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adding an &quot;i=
mplicit&quot; keyword would permit compilers to diagnose constructors and/o=
r conversion operators which are in fact implicit according to the standard=
, but are not marked as such. This would provide a mechanism to warn progra=
mmers that a constructor or conversion operator is potentially dangerous, w=
hile allowing them to clearly specify when this is the intent.<br>

</blockquote><div><br></div><div>But you still have to support not specifyi=
ng &quot;implicit&quot; (or break huge amounts of code), so I don&#39;t see=
 what the keyword really buys you.</div></div>-- <br>=A0Nevin &quot;:-)&quo=
t; Liber=A0 &lt;mailto:<a href=3D"mailto:nevin@eviloverlord.com" target=3D"=
_blank">nevin@eviloverlord.com</a>&gt;=A0 (847) 691-1404
</div></div>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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 />

--047d7bb04f687e226f04f20ffaf9--

.
