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


Groups > comp.lang.c > #163236

Re: on ``vector'' and ``array''

Path csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.c
Subject Re: on ``vector'' and ``array''
Date Fri, 29 Oct 2021 14:02:22 +0100
Organization A noiseless patient Spider
Lines 13
Message-ID <87fsskugpt.fsf@bsb.me.uk> (permalink)
References <8635oklbti.fsf@levado.to> <9288af47-3e78-4016-b5a6-519d44b560b6n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain
Injection-Info reader02.eternal-september.org; posting-host="e05153e92b9fdefa3c118fcfe9e0c770"; logging-data="15309"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FjGjU3dP2uVPC0pT4QXuAYFFrut1BzQE="
Cancel-Lock sha1:TBqaYRbQUIs/37iDsfV4dNy2RXc= sha1:QBjgd+Oj3Ezvf+Luepl3RdNbJd0=
X-BSB-Auth 1.401b6492c080623efad6.20211029140222BST.87fsskugpt.fsf@bsb.me.uk
Xref csiph.com comp.lang.c:163236

Show key headers only | View raw


Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> In C++, the term "vector" is misused quite badly to refer to an
> array. That's because early on in the development of the standard
> template library, the identifier "array" was used for an inconvenient
> container that is seldom used, creating the need for another name to
> use for the normal array type.

What was array used for in the early STL?  std::array is present in
recent versions of C++, but I don't know of the earlier usage.

-- 
Ben.

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


Thread

on ``vector'' and ``array'' Meredith Montgomery <mmontgomery@levado.to> - 2021-10-29 01:00 -0300
  Re: on ``vector'' and ``array'' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-10-28 21:29 -0700
  Re: on ``vector'' and ``array'' Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-10-29 04:42 -0700
    Re: on ``vector'' and ``array'' Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-10-29 14:02 +0100
      Re: on ``vector'' and ``array'' Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-10-29 06:58 -0700
        Re: on ``vector'' and ``array'' Meredith Montgomery <mmontgomery@levado.to> - 2021-10-29 12:02 -0300
          Re: on ``vector'' and ``array'' Anand Hariharan <mailto.anand.hariharan@gmail.com> - 2021-10-30 09:33 -0700
            Re: on ``vector'' and ``array'' Meredith Montgomery <mmontgomery@levado.to> - 2021-10-30 15:29 -0300
            Re: on ``vector'' and ``array'' Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-10-30 13:25 -0700
              Re: on ``vector'' and ``array'' Meredith Montgomery <mmontgomery@levado.to> - 2021-10-31 12:02 -0300
        Re: on ``vector'' and ``array'' Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-10-29 16:38 +0100
    Re: on ``vector'' and ``array'' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-10-29 11:08 -0700

csiph-web