From 6457565701135454939
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,b16403548038ddc7
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1990-10-19 11:41:58 PST
Path: gmdzi!unido!mcsun!uunet!taumet!steve
From: steve@taumet.com (Stephen Clamage)
Newsgroups: comp.std.c++
Subject: Re: backslash-newline inside C++ comments?
Message-ID: <484@taumet.com>
Date: 19 Oct 90 18:41:58 GMT
References: <1990Oct18.230000.14131@twinsun.com>
Organization: Taumetric Corporation, San Diego
Lines: 16
Posted: Fri Oct 19 19:41:58 1990

eggert@ata.twinsun.com (Paul Eggert) writes:

>Is the sequence
>	// a co\
>	mment
>a legal comment in ANSI C++?  ANSI C's translation phases are as follows:

There is no such thing as ANSI C++ yet, and indeed this is one of the
issues which must be resolved by the ANSI C++ (X3J16) committee.  There
was a heated debate on this very point in comp.lang.c++ (I think) some
months ago.  Different C++ compilers currently treat this differently.
To be safe, do not use //-style comments with continued lines.  Use /* */
comments instead.
-- 

Steve Clamage, TauMetric Corp, steve@taumet.com


