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


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

Re: issues with const and iterator

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: issues with const and iterator
Date 2011-09-07 10:56 +1200
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>

Show all headers | 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