Boost logo

Geometry :

Subject: [geometry] promote_integral for Boost.Integer?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-04-12 08:49:52


Hi,

I wonder, would it make sense to consider submitting the promote_integral
to more general purpose Boost library?
Boost.Integral perhaps?

The only similar, but different utility is this integral_promotion:
https://www.boost.org/doc/libs/1_66_0/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html

I think, promote_integral would be useful in Boost.GIL and perhaps other places.

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Geometry list run by mateusz at loskot.net