From 2184048829684933521
X-Google-Thread: f78e5,6978327f896d5d5b
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.159.246.34.MISMATCH!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: barmar@alum.mit.edu (Barry Margolin)
Newsgroups: comp.std.c++
Subject: Re: What is the use of the null directive # ?
Date: Sun, 27 Jun 2004 05:48:16 +0000 (UTC)
Organization: Looking for work
Lines: 38
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <barmar-AEE035.22095526062004@comcast.dca.giganews.com>
References: <607f883e.0406251028.5412fc80@posting.google.com> <PDUseaDh1V3AFwzm@robinton.demon.co.uk>
X-Trace: mail2news.demon.co.uk 1088315296 7650 10.0.0.1 (27 Jun 2004 05:48:16 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sun, 27 Jun 2004 05:48:16 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.12)
	id 1BeSWV-0001zF-00
	for mail2news@news.news.demon.net; Sun, 27 Jun 2004 05:48:15 +0000
X-Received: from mulga.cs.mu.OZ.AU (localhost [127.0.0.1]) by mulga.cs.mu.OZ.AU with ESMTP
	id i5R5mArd001358; Sun, 27 Jun 2004 15:48:10 +1000 (EST)
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id i5R5m97e001347;
	Sun, 27 Jun 2004 15:48:09 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ucar.edu
X-Authentication-Warning: serv1.gc.dca.giganews.com: news set sender to poster@giganews.com using -f
X-NNTP-Posting-Date: Sat, 26 Jun 2004 21:09:55 -0500
X-Mail-Copies-To: nobody
X-User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X)
X-Copies-To: never
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
X-Newsgroups: comp.std.c++
X-Spamscanner: mailbox5.ucsd.edu  (v1.4 May 20 2004 13:55:33, 1.1/5.0 2.63)
X-MailScanner: PASSED (v1.2.8 78987 i5R29vuo083981 mailbox5.ucsd.edu)
X-Spam-Checker-Version: SpamAssassin 2.60-mulga_r1 (1.212-2003-09-23-exp) on 
	mulga.cs.mu.OZ.AU
X-Spam-Level: 
X-Spam-Status: No, hits=-4.7 required=5.2 tests=AWL,BAYES_00,
	MAILTO_TO_SPAM_ADDR autolearn=no version=2.60-mulga_r1
Xref: g2news1.google.com comp.std.c++:1039

In article <PDUseaDh1V3AFwzm@robinton.demon.co.uk>,
 francis@robinton.demon.co.uk (Francis Glassborow) wrote:

> In article <607f883e.0406251028.5412fc80@posting.google.com>, Prateek R 
> Karandikar <kprateek88@yahoo.com> writes
> >What is the use of the null-directive # ?
> >
> ><quote>
> >   16.7 Null directive           [cpp.null]
> >1  A preprocessing directive of the form
> >       # new-line
> >   has no effect.
> ></quote>
> 
> It allows implementors to add directives as extensions without having 
> impact on the portability of code using them.

All it says is that the line:

#

is ignored.  How does that allow an implementor to add something like:

#foobar

?

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



