1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

support for VC++2015

This commit is contained in:
bolero-MURAKAMI 2015-12-09 19:54:35 +09:00
parent f2c09dd3af
commit b9440c0e9c
33 changed files with 353 additions and 253 deletions

View file

@ -174,11 +174,11 @@ namespace sprout {
struct uint_value_t {
typedef typename sprout::detail::int_least_helper<
5
+ (MaxValue <= sprout::numeric_limits<long long>::max())
+ (MaxValue <= sprout::numeric_limits<long>::max())
+ (MaxValue <= sprout::numeric_limits<int>::max())
+ (MaxValue <= sprout::numeric_limits<short>::max())
+ (MaxValue <= sprout::numeric_limits<signed char>::max())
+ (MaxValue <= static_cast<unsigned long long>(sprout::numeric_limits<long long>::max()))
+ (MaxValue <= static_cast<unsigned long long>(sprout::numeric_limits<long>::max()))
+ (MaxValue <= static_cast<unsigned long long>(sprout::numeric_limits<int>::max()))
+ (MaxValue <= static_cast<unsigned long long>(sprout::numeric_limits<short>::max()))
+ (MaxValue <= static_cast<unsigned long long>(sprout::numeric_limits<signed char>::max()))
>::least least;
typedef typename sprout::detail::int_fast_t<least>::type fast;
};