mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
fix coding-style
This commit is contained in:
parent
df3023db30
commit
5ce2cb023c
196 changed files with 1180 additions and 1787 deletions
|
@ -9,12 +9,14 @@ namespace sprout {
|
|||
|
||||
// 25.4.7 Minimum and maximum
|
||||
template<typename T, typename Compare>
|
||||
inline SPROUT_CONSTEXPR T const& max(T const& a, T const& b, Compare comp) {
|
||||
inline SPROUT_CONSTEXPR T const&
|
||||
max(T const& a, T const& b, Compare comp) {
|
||||
return comp(a, b) ? b : a;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR T const& max(T const& a, T const& b) {
|
||||
inline SPROUT_CONSTEXPR T const&
|
||||
max(T const& a, T const& b) {
|
||||
return sprout::max(a, b, NS_SSCRISK_CEL_OR_SPROUT::less<T>());
|
||||
}
|
||||
} // namespace sprout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue