From -8215385148712568343
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,fbc32fc9914fa748,start
X-Google-Attributes: gidf78e5,public
From: "Fran�ois-Xavier Callewaert" <celine.callewaert@club-internet.fr>
Subject: Preprocessor directive and newline
Date: 2000/12/07
Message-ID: <90onv1$dci$1@front7.grolier.fr>#1/1
X-Deja-AN: 702274298
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Priority: 3
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Trace: mail2news.demon.co.uk 976217260 mail2news:1820 mail2news mail2news.demon.co.uk
Organization: Club-Internet (France)
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-MSMail-Priority: Normal
Reply-To: "Fran�ois-Xavier Callewaert" <celine.callewaert@club-internet.fr>
NNTP-Posting-Date: 7 Dec 2000 19:21:05 GMT
Newsgroups: comp.std.c++


Why does the standard C++ require that a preprocessor directive be the
only "thing" on a line(16.1) ?

 I can readily understand why  it should be the last "thing" on a line,
but why should it also be the first ?

 Appart from the fact that the following line of code is probably harder to
read then the legal alternative is it somehow bad ?

 void func();  #define BAR

 Thanks for any enlightenment



---
[ 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.research.att.com/~austern/csc/faq.html                ]
[ Note that the FAQ URL has changed!  Please update your bookmarks.     ]




