🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #555

Re: backslash-newline inside C++ comments?

#555
From: Stephen Clamage
Date: Fri, 19 Oct 1990 18:41
16 lines
991 bytes
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
Technical Details
Message-ID: <484@taumet.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!rutgers!sun-barr!apple!usc!wuarchive!uunet!taumet!steve
References: <1990Oct18.230000.14131@twinsun.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!rutgers!sun-barr!apple!usc!wuarchive!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