Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c++ Subject: Re: Understanding ValArray slices Date: Sat, 16 Apr 2011 08:21:45 +1200 Lines: 13 Message-ID: <90rnmpFojcU5@mid.individual.net> References: <90mk5cFeeiU8@mid.individual.net> <0cfb9f27-e357-4df0-8524-c6f5da967d44@k3g2000prl.googlegroups.com> <01b3d7b2-ba1c-439b-8524-babd0fcdb598@x37g2000prb.googlegroups.com> <068fc503-45d6-441e-b1c6-db9594166418@j17g2000vbr.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net Ixt6J3r998v/Jptu55pQ/QHcGfBiK1P1KEDOwcQVGUgUCktEoe Cancel-Lock: sha1:s/7pyawQydlbwmfLdEEBFxskcHQ= User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:3794 On 04/16/11 08:19 AM, jacob navia wrote: > Le 15/04/11 07:47, gwowen a écrit : > >> On a tangent, I can imagine an implementation that provides and easily- >> sliceable valarray that stores the the start,stride,size and reindexes >> on the fly, in operator[]. > > I am doing exactly that. In C? -- Ian Collins