#pragma once #include namespace NYsonPull { namespace NDetail { namespace NTraits { template using if_signed = typename std::enable_if< std::is_signed::value, U>::type; template using if_unsigned = typename std::enable_if< std::is_unsigned::value, U>::type; template using to_unsigned = typename std::enable_if< std::is_signed::value, typename std::make_unsigned::type>::type; template using to_signed = typename std::enable_if< std::is_unsigned::value, typename std::make_signed::type>::type; } } // namespace NDetail }