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


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

Re: issues with const and iterator

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!gandalf.srv.welterde.de!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: issues with const and iterator
Date Wed, 07 Sep 2011 10:56:29 +1200
Lines 22
Message-ID <9cnmotF72aU10@mid.individual.net> (permalink)
References <7ba85c39-9ae1-46d4-9a8f-7f0987a2c4a9@m3g2000pri.googlegroups.com> <9cm927F72aU3@mid.individual.net> <03a5f937-bae3-4ddf-ba0d-ea32aaa0e36c@1g2000vbu.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net qcq8fnUns1teZW9TTqS+IwfjBdXnONYeY2NzHL44OVk1nS3sKP
Cancel-Lock sha1:vJpcqmMBI3xqy/rHyaYof2vXpT8=
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 <03a5f937-bae3-4ddf-ba0d-ea32aaa0e36c@1g2000vbu.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:9846

Show key headers only | View raw


On 09/ 7/11 10:24 AM, James Kanze wrote:
> On Sep 6, 10:56 am, Ian Collins<ian-n...@hotmail.com>  wrote:
>> On 09/ 6/11 09:46 PM, hweek...@yahoo.com wrote:
>
>      [...]
>> Line numbers in Usenet posts are a bad idea if you want people to try
>> your code!
>
> But they're a good idea if you're also posting error messages,
> so that people can find the line the message is referring to.

He added a comment:

  22     begin_itr = (bd->get()).begin(); // error happens here

> (And it doesn't require any real effort to remove them if you
> want to try the code.)

If you want help, make it easy.

-- 
Ian Collins

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


Thread

issues with const and iterator "hweekuan@yahoo.com" <hweekuan2011@gmail.com> - 2011-09-06 02:46 -0700
  Re: issues with const and iterator Ian Collins <ian-news@hotmail.com> - 2011-09-06 21:56 +1200
    Re: issues with const and iterator James Kanze <james.kanze@gmail.com> - 2011-09-06 15:24 -0700
      Re: issues with const and iterator Ian Collins <ian-news@hotmail.com> - 2011-09-07 10:56 +1200
        Re: issues with const and iterator red floyd <no.spam.here@its.invalid> - 2011-09-06 16:11 -0700

csiph-web