From -673256644674167647
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,d39f22391071c878
X-Google-Attributes: gidf78e5,public
From: jcoffin@taeus.com (Jerry Coffin)
Subject: Re: It was in Algol60, but missing in STL
Date: 1999/03/16
Message-ID: <MPG.115730c8f2ea0a18989954@news.rmi.net>#1/1
X-Deja-AN: 455508958
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <7ciumk$ksk$1@nnrp1.dejanews.com>
X-Original-Date: Mon, 15 Mar 1999 15:07:39 -0700
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 921560855 7477 128.250.29.16 (16 Mar 1999 05:07:35 GMT)
Organization: TAEUS
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUANu3nCeEDnX0m9pzZAQGtjQGAiJuMR3nv64P6P8x6sJoh2U1EFs5NBeAt u3V3aUxUs7lN0rl9oly/ZOpnNXFCkuBX =9o9e
NNTP-Posting-Date: 16 Mar 1999 05:07:35 GMT
Newsgroups: comp.std.c++

In article <7ciumk$ksk$1@nnrp1.dejanews.com>, 
alexander.vinokur@telrad.co.il says...

[ ... ] 

> I don't ask why arrays with various boundaries are missing in C/C++.
> But why are they missing in STL?

My guess is that it simply didn't occur to anybody as a particularly 
useful enhancement.  If you want different bounds, it's trivial to 
implement it in terms of a standard vector.

> It was in Algol60.

Algol 60 included a number of features that have more or less 
disappeared from programming in general.

When Niklaus Wirth defined Pascal, he retained this feature, but by 
the time he defined Oberon, it disappeared.  About the only reasonably 
recent language that seems to retain it is Ada...
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



