🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

9 total messages Started by Dr. Richard Botting Mon, 16 Oct 1995 16:53
C++ Draft Standard on WWW
#2211
Author: Dr. Richard Botting
Date: Mon, 16 Oct 1995 16:53
35 lines
1718 bytes
I've taken the liberty of downloading, ungnuzipping, and untarring
the HTML version of the Draft ANSI/ISO Working Party Standard. Any
world wide web browser such as lynx, netscape, mosaic can access
it at our WWW server:
	http://www.csci.csusb.edu/dick/c++std/

Could a couple of other Webmasters make set up alternate sites?
The original wphtml.tar.gz file can be got from
	ftp://www.csci.csusb.edu/dick/c++std/wphtml.tar.gz
if you can't get it from
	ftp://ftp.cygnus.com/pub/g++/wphtml.tar.gz

The file
	ftp://www.csci.csusb.edu/dick/c++std/wphtml.untar.sh
is helpful for extracting the HTML files from the wphtml.tar file
on UNIX.

Hope it helps!

--
	dick@csci.csusb.edu=rbotting@wiley.csusb.edu.
Find out what's new at http://www.csci.csusb.edu/doc/www.sites.html
Disclaimer:`CSUSB may or may not agree with this message`.
Copyright(1995):Copy this freely but include the following link to the
<a href="http://www.csci.csusb.edu/dick/signature.html">author's signature</a>


[Moderator's note: Another WWW site with the draft standard is 
http://www.cygnus.com/~mrs/wp-draft.  mha]

---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Re: C++ Draft Standard on WWW
#2223
Author: Ajay Kamdar
Date: Mon, 16 Oct 1995 21:06
20 lines
1176 bytes
>[Moderator's note: Another WWW site with the draft standard is 
>http://www.cygnus.com/~mrs/wp-draft.  mha]

That URL refers to the April Working Paper -- not the latest draft.

I do not remember seeing any announcement in this forum pointing to
a newer draft, but a little digging turned up the following URL as
having what is supposed to be the October Working Paper:

    http://www.cygnus.com/~mrs/wp-oct95/index.html

-- 
Ajay Kamdar        |    Email: ajay@lehman.com    |    Standard Disclaimer 
Lehman Brothers    |    Phone: (201) 524-5048     |

---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Need an operator ->[]
#2254
Author: Shashaanka
Date: Wed, 18 Oct 1995 04:24
41 lines
1833 bytes
I have following scenario

class X {

  public:
     int operator [](int);
      ....
      .....
   };

X x;
X * x1=x;

I want to use X.operator[] via x1. That would mean that I will have to use following
syntax:

(*x1)[10] to access 10th element.

However, a more natural way could be to use it like
x1->[10].

Would like your comments on this, or if there are alternatives.

Just for those, who want to know, why I have to use like this is that I am creating
various vector and other objects in the shared memory. Now various processes 
interfacing this can access these objects via pointers interfaces to the shared 
memory. 

Basically, I wanted to use shared memory as program heap, with my own memory 
management. Lot of details are missing from above example, however, if anyone wants,
I can provide them.

Would appreciate your ideas, comments and if any better solutions you have in mind.

Thanks



[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Re: Need an operator ->[]
#2232
Author: Sean A Corfield
Date: Wed, 18 Oct 1995 13:10
33 lines
1469 bytes
In article <461ref$hfr@sake.wwa.com>,
Shashaanka <shashank@sashimi.wwa.com> wrote:

|> X x;
|> X * x1=x;

Firstly, I'll assume you mean:

	X* x1 = &x;

|> However, a more natural way could be to use it like
|> x1->[10].
|> 
|> Would like your comments on this, or if there are alternatives.

I'm not sure I like your proposed syntax but why not use a reference
instead?

	X& x2 = x;
 x2[10];

[shared memory justification snipped]
You could still use references even when pointers would seem natural due to
allocation:

 X& x3 = *new X[10];
 x3[10];   // invoke X::operator[], return int
 (&x3)[9]; // invoke builtin [] on X*, return X&
 delete[] &x3;
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Re: Need an operator ->[]
#2239
Author: David Vandevoorde
Date: Wed, 18 Oct 1995 13:39
25 lines
1363 bytes
>>>>> "S" == Shashaanka  <shashank@sashimi.wwa.com> writes:
[...]
S> X x;
S> X * x1=x;

Are you sure this is correct? Did you intend to write `X* x1 = &x;'
instead?

[...]
S> (*x1)[10] to access 10th element.
S> However, a more natural way could be to use it like
x1-> [10].

S> Would like your comments on this, or if there are alternatives.
[...]

Are you aware of ``references''? E.g., for the code above:
	X& x1 = x;
	// ... x1[10] ... This syntax now available.

	Daveed
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Re: C++ Draft Standard on WWW
#2255
Author: Mike Stump
Date: Thu, 19 Oct 1995 18:15
28 lines
1488 bytes
In article <45uf98$dqt@jabba.lehman.com>, Ajay Kamdar <ajay@lehman.com> wrote:
>>[Moderator's note: Another WWW site with the draft standard is 
>>http://www.cygnus.com/~mrs/wp-draft.  mha]
>
>That URL refers to the April Working Paper -- not the latest draft.

Wrong.  It does reference the latest ANSI Draft for C++.  The other,
is just a working paper, it is not an ANSI draft, nor has it even been
approved by the committee.

>I do not remember seeing any announcement in this forum pointing to
>a newer draft,

Because there is no newer ANSI Draft.

>but a little digging turned up the following URL as having what is
>supposed to be the October Working Paper:
>
>    http://www.cygnus.com/~mrs/wp-oct95/index.html

As you'll find out, it is not the October papper, it is the September
working paper.

---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Re: C++ Draft Standard on WWW
#2269
Author: Ajay Kamdar
Date: Fri, 20 Oct 1995 16:44
39 lines
1930 bytes
In article <DGo62s.FxK@kithrup.com>, Mike Stump  <mrs@cygnus.com> wrote:
>
>In article <45uf98$dqt@jabba.lehman.com>, Ajay Kamdar <ajay@lehman.com> wrote:
>>>[Moderator's note: Another WWW site with the draft standard is 
>>>http://www.cygnus.com/~mrs/wp-draft.  mha]
>>
>>That URL refers to the April Working Paper -- not the latest draft.
>
>Wrong.  It does reference the latest ANSI Draft for C++.  The other,
>is just a working paper, it is not an ANSI draft, nor has it even been
>approved by the committee.

I am sure you are right, but take a look at the April "Draft". It still
has a title in bold letters proclaiming it to be the "April Working Paper",
with following text that reads "The Working Paper ..." leading to
the confusion.

Thanks for setting the matter straight.

>>    http://www.cygnus.com/~mrs/wp-oct95/index.html
>
>As you'll find out, it is not the October papper, it is the September
>working paper.

BTW, the URL I referenced above (wp-oct95) doesn't seem to exist anymore.
The new URL for the September working paper is:

    http://www.cygnus.com/~mrs/wp-sep95/index.html


-- 
Ajay Kamdar        |    Email: ajay@lehman.com    |    Standard Disclaimer 
Lehman Brothers    |    Phone: (201) 524-5048     |

---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Re: C++ Draft Standard on WWW
#2276
Author: John Max Skaller
Date: Sun, 22 Oct 1995 06:58
28 lines
1360 bytes
Mike Stump <mrs@cygnus.com> wrote:
>
>>
>>That URL refers to the April Working Paper -- not the latest draft.
>
>Wrong.  It does reference the latest ANSI Draft for C++.  The other,
>is just a working paper, it is not an ANSI draft, nor has it even been
>approved by the committee.

    Ahem. The document available by FTP is an 
ISO/IEC JTC1/SC22 Committee Draft. This is
an _international_ forum: ANSI is one of several players.


-- 
John Max Skaller               voice: 61-2-566-2189
81 Glebe Point Rd              fax:   61-2-660-0850
GLEBE NSW 2037                 email: maxtal@suphys.physics.oz.au
AUSTRALIA                      email: skaller@maxtal.com.au




---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Re: C++ Draft Standard on WWW
#2313
Author: Dr. Richard Botting
Date: Thu, 26 Oct 1995 16:19
11 lines
1180 bytes
I forgot the address :-)
	http://www.csci.csusb.edu/dick/c++std/index.html

--
	dick@csci.csusb.edu=rbotting@wiley.csusb.edu.
Disclaimer:`CSUSB may or may not agree with this message`.
"To err is human, but for a public foul up... post to Usenet."
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads