mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix coding-stype
This commit is contained in:
parent
2012838899
commit
df3023db30
196 changed files with 2510 additions and 3945 deletions
|
@ -14,27 +14,33 @@ namespace sprout {
|
|||
// operator>=
|
||||
//
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR bool operator==(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator==(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
return lhs.front() == rhs.front();
|
||||
}
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR bool operator!=(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator!=(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR bool operator<(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator<(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
return lhs.front() < rhs.front();
|
||||
}
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR bool operator>(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator>(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
return rhs < lhs;
|
||||
}
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR bool operator<=(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator<=(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
return !(rhs < lhs);
|
||||
}
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR bool operator>=(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator>=(sprout::pit<Container> const& lhs, sprout::pit<Container> const& rhs) {
|
||||
return !(lhs < rhs);
|
||||
}
|
||||
} // namespace sprout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue