
19 Oct
2011
19 Oct
'11
8:24 p.m.
On Wed, Oct 19, 2011 at 12:38 PM, <andrey.semashev@gmail.com> wrote:
On Wednesday, October 19, 2011 12:27:31 Jeffrey Lee Hellrung, Jr. wrote:
[...]
I think the following would do: typedef typename make_unsigned< difference_type >::type size_type;
I was under the impression that most of the traits in Boost.TypeTraits of this nature are only defined for builtin types.
See one of my previous replies, difference type should be a signed integer type.
Ah, indeed. Then I agree make_unsigned would be a legitimate solution. - Jeff