220 8732 <3fc9f495-0bb2-4432-bb79-385fe222feab@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Vittorio Romeo <vittorio.romeo.vee@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: "Raw" preprocessor macro arguments
Date: Mon, 20 Jan 2014 00:53:04 -0800 (PST)
Lines: 46
Approved: news@gmane.org
Message-ID: <3fc9f495-0bb2-4432-bb79-385fe222feab@isocpp.org>
References: <c0398870-b265-4d02-a814-ad84a472520c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1796_16970866.1390207984103"
X-Trace: ger.gmane.org 1390207978 20282 80.91.229.3 (20 Jan 2014 08:52:58 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 20 Jan 2014 08:52:58 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCO3NDEYZQHRB4GH6OLAKGQEA7IPEPA@isocpp.org Mon Jan 20 09:53:07 2014
Return-path: <std-proposals+bncBCO3NDEYZQHRB4GH6OLAKGQEA7IPEPA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f69.google.com ([209.85.220.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCO3NDEYZQHRB4GH6OLAKGQEA7IPEPA@isocpp.org>)
	id 1W5AbS-00030E-Il
	for gclcip-std-proposals@m.gmane.org; Mon, 20 Jan 2014 09:53:06 +0100
Original-Received: by mail-pa0-f69.google.com with SMTP id fa1sf11975711pad.0
        for <gclcip-std-proposals@m.gmane.org>; Mon, 20 Jan 2014 00:53:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references: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=QmMgB80njWWsVyfI3TO8HtolRxTqNXTmCMA/RsOht4g=;
        b=eZqufuuTx+8Lrza7TMniObLBmt7BRCcCRlF/vjQROtTGlQMq7IFb8ecn1yLOF5AvtM
         f5HzdGtNU1ertiDXp/cQG7ZrYfqefT+XE18/UESM/pL+p/cn61QeYLpalFfyjEYrsD5o
         fhGi39sh03HIAiVkxOCTt2JxeXQ4L1TmRek3ntPmIK4cBXB5v5wVKUsP76slEjITHIaD
         pnm5sZdm4m0Qo7+ts+nUZKiN7mFwWmg5TCwUoT5pcqn66nH+CRA0tQiyTaaFawnxOf9R
         abNVvTydrtqAPi4RcaRPay6CwT1NYHgvOrGZoSiycPmgLJ6CcwsqspD5TqcfV1sv3n/f
         irGA==
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:in-reply-to:references
         :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=QmMgB80njWWsVyfI3TO8HtolRxTqNXTmCMA/RsOht4g=;
        b=PnliTRuAIVqKRAbtI9BCZLuNPHGgjbXMrrCMnIlkhW1GUePz2991s22Mj+lPhjSfFY
         NPkrDIXg0zCVYLY8rLrstRSyobpebcATmEgWZ5ESIg9U+32JMtatPTw6MAi0EywIxvrw
         vKTTvFOnD7ItzGc9LvZbIhWLyIwK3uD0vsH9kkWgAdSjDJsUuOkpAzLgxEkTatC4AGxM
         OgqsZLuy33UUhXe+2xKTHhwFLxwvfjSHqImrcEb1SkCISGGcwAAVLTSuHemmwrd16bqm
         rWqbBJ5ZeBDs+rIu3FfXUtw6RAnu6jL7za+tr/u1oz7n5BaO6ap1osAuqL32R74qjtiR
         JHXQ==
X-Gm-Message-State: ALoCoQk4EqCFl1LsuCEfFC79dxImRSeEO5ebbWVZqi6n9brliBUFbESTioInkdk6inGZd9xgM87y
X-Received: by 10.67.1.100 with SMTP id bf4mr5892284pad.8.1390207985296;
        Mon, 20 Jan 2014 00:53:05 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.93.71 with SMTP id c65ls209844qge.4.gmail; Mon, 20 Jan
 2014 00:53:04 -0800 (PST)
X-Received: by 10.140.27.233 with SMTP id 96mr5559qgx.32.1390207984741;
        Mon, 20 Jan 2014 00:53:04 -0800 (PST)
In-Reply-To: <c0398870-b265-4d02-a814-ad84a472520c@isocpp.org>
X-Original-Sender: vittorio.romeo.vee@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:8732
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/8732>

------=_Part_1796_16970866.1390207984103
Content-Type: text/plain; charset=UTF-8

http://ideone.com/B5hVDS

This example shows un-intuitive behavior.
The "raw argument" is actually passed as multiple arguments, and does not 
expand correctly.

I would expect the program to print "1, 2, 3" or "1,2,3" - instead, it 
fails to compile.

-- 

--- 
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_1796_16970866.1390207984103
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">http://ideone.com/B5hVDS<br><br>This example shows un-intu=
itive behavior.<div>The "raw argument" is actually passed as multiple argum=
ents, and does not expand correctly.</div><div><br></div><div>I would expec=
t the program to print "1, 2, 3" or "1,2,3" - instead, it fails to compile.=
</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 />

------=_Part_1796_16970866.1390207984103--

.
