Код: Выделить всё
BOOST_STRONG_TYPEDEF(int, MyInt)
template
T_Int myFunc(long long v) {
return (T_Int)v;
}
myFunc(1); //
Подробнее здесь: [url]https://stackoverflow.com/questions/79219229/how-to-solve-c4244-conversion-possible-loss-of-data-for-strong-typedef-in-temp[/url]
Мобильная версия