Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-06-20 13:48:20


David Abrahams writes:
> And one more piece of bad news:
>
> 1. the iterator_helpers are still broken because with a non-const value type
> and a const pointer type you get a non-const iterator, because:
> 2. dereferenceable<> is arguably still broken because it takes a value_type
> parameter instead of a pointer (type) parameter
>
> Fixing problem 2 involves breaking backward-compatibility. I don't think
> there's a clever fix for this problem. I'm inclined to fearlessly make the
> fix, but I need guidance from the group on what to do about it.

I'd suggest going ahead with the fix. I use dereferenceable<> a lot,
but it was easy to update all the uses.

Cheers,

Jeremy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk