get_wider<int, float> == float - what is it called in boost?
Hi!
I may have posted the first half of this question once, sorry for that! : )
The question in short: which boost library enables me to get the "wider"
datatype of two, such that
get_wider
"Agoston Bejo"
Hi! I may have posted the first half of this question once, sorry for that! : )
The question in short: which boost library enables me to get the "wider" datatype of two, such that get_wider
::type will be float, and get_wider ::type will also be float. Hopefully get_wider ::type will generate a compile-time error, since the two are not convertible to each other.
#include
participants (2)
-
Agoston Bejo
-
Fernando Cacciola