[There are a few questions on this but none of the answers are particularly definitive and several are out of date with the current C++ standard].
My research shows
what about converting types like this?
bool can_convert(float a, int i) { int b = a; float c = i; return a == c; }