Boost logo

Boost Users :

Subject: Re: [Boost-users] [unordered] Iterator default constructor usage
From: Daniel James (dnljms_at_[hidden])
Date: 2011-11-26 02:19:58


On 25 November 2011 22:09, andpar83_at_[hidden] <andpar83_at_[hidden]> wrote:
> It's the reason why I'm asking this. Now it's working.

In 1.48, the end iterator just contains a null pointer, which is why
that currently works. This might not always be the case, so it isn't
guaranteed. For example, the data structure might change, or the
iterator might be changed so that it's a POD and isn't default
initialised.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net