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


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

Re: Understanding ValArray slices

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: Understanding ValArray slices
Date 2011-04-14 09:50 +1200
Message-ID <90mk5cFeeiU8@mid.individual.net> (permalink)
References <io55g6$66o$1@speranza.aioe.org>

Show all headers | View raw


On 04/14/11 09:44 AM, jacob navia wrote:
> Hi
>
> I have some trouble understanding what are the ValArray slices classes.
>
> Are they just like pointers in the sense that they do not copy the data
> but just select it?

They a a collection of indices into a valarray.

> Or are they arrays of their own with their own data.
>
> Or do they produce an array of indices?

Yes.

> ValArray classes aren't even mentioned in the C++ Primer book (Lippman
> et al) not are they mentioned in the one of Plaugher. The only docs are
> some scanty web pages and the standard, what is not that easy to
> understand.
>
> Thanks in advance for some short tutorial or a pointer to one.

The standard (and excellent) reference is "The C++ Standard Library" by 
Nicolai M. Josuttis.

-- 
Ian Collins

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


Thread

Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-13 23:44 +0200
  Re: Understanding ValArray slices Ian Collins <ian-news@hotmail.com> - 2011-04-14 09:50 +1200
    Re: Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-14 00:22 +0200
      Re: Understanding ValArray slices gwowen <gwowen@gmail.com> - 2011-04-14 01:59 -0700
        Re: Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-14 14:48 +0200
          Re: Understanding ValArray slices gwowen <gwowen@gmail.com> - 2011-04-14 09:53 -0700
            Re: Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-14 22:50 +0200
              Re: Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-14 22:51 +0200
              Re: Understanding ValArray slices gwowen <gwowen@gmail.com> - 2011-04-14 22:47 -0700
                Re: Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-15 22:19 +0200
                Re: Understanding ValArray slices Ian Collins <ian-news@hotmail.com> - 2011-04-16 08:21 +1200
                Re: Understanding ValArray slices gwowen <gwowen@gmail.com> - 2011-04-15 14:13 -0700
                Re: Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-15 23:24 +0200
                Re: Understanding ValArray slices gwowen <gwowen@gmail.com> - 2011-04-15 23:05 -0700
                Re: Understanding ValArray slices jacob navia <jacob@spamsink.net> - 2011-04-16 12:00 +0200
                Re: Understanding ValArray slices gwowen <gwowen@gmail.com> - 2011-04-15 14:23 -0700

csiph-web