home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!fulcrum!bham!bhamvx!mccauleyba
- From: mccauleyba@vax1.bham.ac.uk (Brian McCauley)
- Newsgroups: comp.std.c++
- Subject: Re: Unitialized dynamic reference
- Message-ID: <1992Nov7.160634.1@vax1.bham.ac.uk>
- Date: 7 Nov 92 16:06:34 GMT
- References: <1dessbINNn1b@darkstar.UCSC.EDU>
- Sender: usenet@rs6000.bham.ac.uk (USENET News Service)
- Organization: University of Birmingham
- Lines: 17
-
- In article <1dessbINNn1b@darkstar.UCSC.EDU>, daniel@cse.ucsc.edu (Daniel R. Edelson) writes:
- > ... is the following illegal?
- >
- > new (int&)
- Yes the type of this expression is `int&*'. There is no such type!
- (Because if you try to take the address of reference what you get is the
- address of the thing referred to.)
-
- > All the compilers I tried permitted it.
- Get some better compilers - Borland 3.1 spotted the error.
-
- \\ ( ) NO BULLSHIT! from BAM (Brian McCauley)
- . _\\__[oo ============
- .__/ \\ /\@
- . l___\\ E-mail: B.A.McCauley@bham.ac.uk
- # ll l\\
- ###LL LL\\
-