mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
fix delete extra ';'
This commit is contained in:
parent
e5391d339c
commit
c532099a35
6 changed files with 9 additions and 9 deletions
|
@ -13,7 +13,7 @@ namespace sprout {
|
||||||
# define SPROUT_DIV_T_TRAITS_IMPL(DIV_T) \
|
# define SPROUT_DIV_T_TRAITS_IMPL(DIV_T) \
|
||||||
typedef DIV_T type; \
|
typedef DIV_T type; \
|
||||||
static SPROUT_CONSTEXPR std::size_t offsetof_quot = offsetof(DIV_T, quot); \
|
static SPROUT_CONSTEXPR std::size_t offsetof_quot = offsetof(DIV_T, quot); \
|
||||||
static SPROUT_CONSTEXPR std::size_t offsetof_rem = offsetof(DIV_T, rem);
|
static SPROUT_CONSTEXPR std::size_t offsetof_rem = offsetof(DIV_T, rem)
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct div_t_traits {};
|
struct div_t_traits {};
|
||||||
|
|
|
@ -239,10 +239,10 @@ namespace sprout {
|
||||||
// tolower
|
// tolower
|
||||||
// toupper
|
// toupper
|
||||||
//
|
//
|
||||||
SPROUT_CTYPE_ASCII_DECL(char, SPROUT_PP_EMPTY());
|
SPROUT_CTYPE_ASCII_DECL(char, SPROUT_PP_EMPTY())
|
||||||
SPROUT_CTYPE_ASCII_DECL(wchar_t, SPROUT_PP_EMPTY());
|
SPROUT_CTYPE_ASCII_DECL(wchar_t, SPROUT_PP_EMPTY())
|
||||||
SPROUT_CTYPE_ASCII_DECL(char16_t, SPROUT_PP_EMPTY());
|
SPROUT_CTYPE_ASCII_DECL(char16_t, SPROUT_PP_EMPTY())
|
||||||
SPROUT_CTYPE_ASCII_DECL(char32_t, SPROUT_PP_EMPTY());
|
SPROUT_CTYPE_ASCII_DECL(char32_t, SPROUT_PP_EMPTY())
|
||||||
} // namespace ascii
|
} // namespace ascii
|
||||||
|
|
||||||
using sprout::ascii::isalnum;
|
using sprout::ascii::isalnum;
|
||||||
|
|
|
@ -22,7 +22,7 @@ namespace sprout {
|
||||||
// towlower
|
// towlower
|
||||||
// towupper
|
// towupper
|
||||||
//
|
//
|
||||||
SPROUT_CTYPE_ASCII_DECL(wchar_t, w);
|
SPROUT_CTYPE_ASCII_DECL(wchar_t, w)
|
||||||
} // namespace ascii
|
} // namespace ascii
|
||||||
|
|
||||||
using sprout::ascii::iswalnum;
|
using sprout::ascii::iswalnum;
|
||||||
|
|
|
@ -11,7 +11,7 @@ namespace sprout {
|
||||||
: !*s1 ? -1
|
: !*s1 ? -1
|
||||||
: !*s2 ? 1
|
: !*s2 ? 1
|
||||||
: *s1 == *s2 ? sprout::wcscmp(s1 + 1, s2 + 1)
|
: *s1 == *s2 ? sprout::wcscmp(s1 + 1, s2 + 1)
|
||||||
: static_cast<unsigned wchar_t>(*s1) - static_cast<unsigned wchar_t>(*s2)
|
: *s1 - *s2
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
} // namespace sprout
|
} // namespace sprout
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace sprout {
|
||||||
: !*s1 ? -1
|
: !*s1 ? -1
|
||||||
: !*s2 ? 1
|
: !*s2 ? 1
|
||||||
: *s1 == *s2 ? sprout::wcsncmp(s1 + 1, s2 + 1, n - 1)
|
: *s1 == *s2 ? sprout::wcsncmp(s1 + 1, s2 + 1, n - 1)
|
||||||
: static_cast<unsigned wchar_t>(*s1) - static_cast<unsigned wchar_t>(*s2)
|
: *s1 - *s2
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
} // namespace sprout
|
} // namespace sprout
|
||||||
|
|
|
@ -339,7 +339,7 @@ namespace sprout {
|
||||||
base_result(eng.min()),
|
base_result(eng.min()),
|
||||||
base_unsigned(sprout::random::detail::subtract<base_result>()(eng.max(), eng.min()))
|
base_unsigned(sprout::random::detail::subtract<base_result>()(eng.max(), eng.min()))
|
||||||
);
|
);
|
||||||
};
|
}
|
||||||
template<typename Engine, typename T, typename Result>
|
template<typename Engine, typename T, typename Result>
|
||||||
SPROUT_CONSTEXPR sprout::random::detail::generate_uniform_int_result<T, Engine> generate_uniform_int_false_1(
|
SPROUT_CONSTEXPR sprout::random::detail::generate_uniform_int_result<T, Engine> generate_uniform_int_false_1(
|
||||||
Result const& rnd
|
Result const& rnd
|
||||||
|
|
Loading…
Reference in a new issue