Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-01-11 11:59:43

shunsuke wrote:
> Eric Niebler wrote:

> Another(more generic?) workaround seems known.
> template< class T >
> typename range_iterator< typename add_const<T>::type >::type
> some_algo(T const& rng) {
> // ...
> }
> I prefer a macro to document this bug...
> Well, this bug seems not only involved in Boost.Range.
> VC++7.1 users would need this workaround; everywhere 'T' is deduced as
> array type.

Oh man, I hate that compiler (and I love it too).

Shunsuke, may I include your code in the boost distribution?

If so, would the range library be an ok place to put it?
And is the name PSTADE_DEDUCED_CONST(T) really a good name


Boost list run by bdawes at, gregod at, cpdaniel at, john at