|
Boost : |
Subject: Re: [boost] Proposed templated integer_sort
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-14 17:56:25
AMDG
Phil Endecott wrote:
>>> I think you can use things like typename RandomAccessIter::value_type
>>> instead of passing *first in order to determine data_type.
>>
>> I tried that, but it didn't compile on my system (MacOSX PPC gcc4.0.1).
>
> That's surprising. Maybe you could distil it down to a minimal
> example and we can all scratch our heads over it.
Shouldn't it be typename std::iterator_traits<RandomAccessIter>::value_type?
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk