Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #11334

Re: Why const int& ?

From Brian Drummond <brian@shapes.demon.co.uk>
Newsgroups comp.lang.c++
Subject Re: Why const int& ?
Date 2011-11-09 09:49 +0000
Organization A noiseless patient Spider
Message-ID <j9dibi$kpq$1@dont-email.me> (permalink)
References <6b75c326-029d-49c2-8b81-e8e7095dc695@du8g2000vbb.googlegroups.com> <848b56ad-252c-4460-bc31-60bd114528b8@w20g2000prc.googlegroups.com> <fb9f7482-19ea-4b4a-97bf-83840535078f@l19g2000yqc.googlegroups.com> <39d747d3-643a-466f-b3d9-413b01ccb1b1@c16g2000pre.googlegroups.com> <4eba411f$0$2838$7b1e8fa0@news.nbl.fi>

Show all headers | View raw


On Wed, 09 Nov 2011 09:00:15 +0000, Juha Nieminen wrote:

> Joshua Maurice <joshuamaurice@gmail.com> wrote:
>> Unfortunately, AFAIK, Java developers decided that "pointer"
>> was a dirty word and used the word "reference" instead. Java references
>> really ought to have been called pointers. 

In that respect, Java follows an older precedent than C or C++.

>   Actually references in Java are much more abstract than pointers in
>   C++,
> even though that might not be immediately apparent.

Likewise. ALGOL-W (from about 1963) comes to mind here.

- Brian

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Why const int&  ? Travis Parks <jehugaleahsa@gmail.com> - 2011-11-06 09:00 -0800
  Re: Why const int&  ? "io_x" <a@b.c.invalid> - 2011-11-06 18:09 +0100
  Re: Why const int&  ? Marc <marc.glisse@gmail.com> - 2011-11-06 17:12 +0000
  Re: Why const int&  ? Ian Collins <ian-news@hotmail.com> - 2011-11-07 07:43 +1300
  Re: Why const int& ? Joshua Maurice <joshuamaurice@gmail.com> - 2011-11-07 14:36 -0800
    Re: Why const int& ? Travis Parks <jehugaleahsa@gmail.com> - 2011-11-07 18:37 -0800
      Re: Why const int& ? Joshua Maurice <joshuamaurice@gmail.com> - 2011-11-08 17:13 -0800
        Re: Why const int& ? Juha Nieminen <nospam@thanks.invalid> - 2011-11-09 09:00 +0000
          Re: Why const int& ? Brian Drummond <brian@shapes.demon.co.uk> - 2011-11-09 09:49 +0000
        Re: Why const int& ? Travis Parks <jehugaleahsa@gmail.com> - 2011-11-11 16:11 -0800

csiph-web