220 5931 <CAFk2RUY7nU0wKjY1LkdPzCcoXG+Ytw_Nxrqg3wHdwcMrD7zbWQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Proposal: Mixins for C++
Date: Wed, 28 Aug 2013 15:12:53 +0300
Lines: 76
Approved: news@gmane.org
Message-ID: <CAFk2RUY7nU0wKjY1LkdPzCcoXG+Ytw_Nxrqg3wHdwcMrD7zbWQ@mail.gmail.com>
References: <787081f7-fb40-4507-907d-259318ef2000@isocpp.org>
	<1c80b902-4e65-4f4b-a5d7-8953dbf6df05@isocpp.org>
	<CAOU91OP9kytXYDHkL_Wr4=3aRVQXhkYGqcEJL1G3r+JRKU0T=g@mail.gmail.com>
	<7035c144-8350-40d4-bf23-03ab7aa7fe53@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c3d73cb24d7f04e500e8c9
X-Trace: ger.gmane.org 1377691976 8929 80.91.229.3 (28 Aug 2013 12:12:56 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 28 Aug 2013 12:12:56 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBROS66IAKGQES7HEZJY@isocpp.org Wed Aug 28 14:12:59 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRBROS66IAKGQES7HEZJY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qa0-f72.google.com ([209.85.216.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBROS66IAKGQES7HEZJY@isocpp.org>)
	id 1VEecJ-0000A4-0F
	for gclcip-std-proposals@m.gmane.org; Wed, 28 Aug 2013 14:12:55 +0200
Original-Received: by mail-qa0-f72.google.com with SMTP id i13sf3655930qae.11
        for <gclcip-std-proposals@m.gmane.org>; Wed, 28 Aug 2013 05:12:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from: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=LFtXbmol6w3u1GiI24SC1K3txM7yxiqjSRteEESyLTQ=;
        b=vySC2hOulO4zW0m/8u+bWf0JcNcY6pXRJCzaPLCF/N+IGthA2P34LROodyGkyY3EY0
         sAyuovrj9zKj+YWnJFtJy15jKKZsdPym4L7/WQVcKdXPUKeaz/9ZL+V0WwjBlGirZYri
         LHLMNZyzfF9tsamVIhabgyFCagZDeSy0Ug6B3LwBpFQhTJOqnEAJL+KHyD3/YI1j3k5D
         +WIvE39Wal4Lwn1w+UYCxdO0K6nOMg3KL+nuYGhBFSSnLX4F+CsWBIi8XVB+0bgMvhqs
         tq1zOMqQaYHDP+94szmkp0mUYkr/awSzjmoEho2BGX2Titw3V9agq/SFclKojxWXNxiK
         2tfg==
X-Received: by 10.58.151.4 with SMTP id um4mr1911704veb.18.1377691974129;
        Wed, 28 Aug 2013 05:12:54 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.0.41 with SMTP id 9ls312662qeb.15.gmail; Wed, 28 Aug 2013
 05:12:53 -0700 (PDT)
X-Received: by 10.224.166.74 with SMTP id l10mr592009qay.114.1377691973709;
        Wed, 28 Aug 2013 05:12:53 -0700 (PDT)
Original-Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [2607:f8b0:400d:c02::235])
        by mx.google.com with ESMTPS id x4si7560390qar.125.1969.12.31.16.00.00
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 28 Aug 2013 05:12:53 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c02::235 as permitted sender) client-ip=2607:f8b0:400d:c02::235;
Original-Received: by mail-qe0-f53.google.com with SMTP id 1so3376762qee.12
        for <std-proposals@isocpp.org>; Wed, 28 Aug 2013 05:12:53 -0700 (PDT)
X-Received: by 10.224.67.134 with SMTP id r6mr29221892qai.24.1377691973600;
 Wed, 28 Aug 2013 05:12:53 -0700 (PDT)
Original-Received: by 10.224.195.8 with HTTP; Wed, 28 Aug 2013 05:12:53 -0700 (PDT)
In-Reply-To: <7035c144-8350-40d4-bf23-03ab7aa7fe53@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c02::235 as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) d=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:5931
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/5931>

--001a11c3d73cb24d7f04e500e8c9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 28 August 2013 15:02, R=F3bert D=E1vid <lrdxgm@gmail.com> wrote:

> It's a pack of code.
>
>>
>>
> Soooo.. a macro? What's *wrong* with macros, besides the awkward
> "generally good idea not to use them" argument? How about this macro-base=
d
> solution to the problem:
>
>
Seriously? What's really wrong with macros is that they don't obey scopes,
and error reporting when you make a mistake
in a macro definition is rather dismal. Debugging macro-heavy code can also
be rather frustratingly hard. The
"generally good idea not to use them" is not just a random statement, it's
based on the downsides of macros,
and it's not just grandstanding from the top of a high horse.

--=20

---=20
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 e=
mail 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-proposa=
ls/.

--001a11c3d73cb24d7f04e500e8c9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On 28 August 2013 15:02, R=F3bert D=E1vid <span dir=3D"ltr">&lt;<a =
href=3D"mailto:lrdxgm@gmail.com" target=3D"_blank">lrdxgm@gmail.com</a>&gt;=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">It&#39;s a pack of code.<di=
v class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0;margin-l=
eft:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir=3D"ltr"><div><div class=3D"gmail_quote"><div><br></div></div></div=
></div></blockquote></div><div><br>Soooo.. a macro? What&#39;s <i>wrong</i>=
 with macros, besides the awkward &quot;generally good idea not to use them=
&quot; argument? How about this macro-based solution to the problem:<br>
<br></div></div></blockquote><div><br></div><div>Seriously? What&#39;s real=
ly wrong with macros is that they don&#39;t obey scopes, and error reportin=
g when you make a mistake<br>in a macro definition is rather dismal. Debugg=
ing macro-heavy code can also be rather frustratingly hard. The<br>
</div><div>&quot;generally good idea not to use them&quot; is not just a ra=
ndom statement, it&#39;s based on the downsides of macros,<br>and it&#39;s =
not just grandstanding from the top of a high horse.<br></div></div><br>
</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 />

--001a11c3d73cb24d7f04e500e8c9--

.
