From: Andy Little (andy_at_[hidden])
Date: 2005-06-22 14:12:51


"Jonathan Turkanis" <technews_at_[hidden]> wrote in message
news:d9bvve$h8v$1_at_sea.gmane.org...
> Andy Little wrote:
>> "David Abrahams" <dave_at_[hidden]> wrote in message
>> news:uzmti8rk1.fsf_at_boost-consulting.com...
>>> "Alexander Nasonov" <alnsn-boost_at_[hidden]> writes:
>>>
>>>> Class template integral_promotion<T> returns promoted type for all
>>>> types listed in [conv.prom] except bit-fields. For other types it's
>>>> noop. If you're interested I can try to boostify it.
>>>
>>> I'm interested. I don't have an immediate need but I think it's
>>> important anyway.
>>
>> Isnt any use case for this covered by Boost.Typeof ?
>
> Even if it is, that's a pretty heavy-weight solution.

The implementation may be heavyweight but useage is lightweight.
integers are registered automatically.

regards
Andy Little