mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
sprout/variant.hpp 追加
sprout/type.hpp 追加
This commit is contained in:
parent
488df1e685
commit
b6bf03c4ed
30 changed files with 905 additions and 102 deletions
|
@ -46,7 +46,7 @@ namespace sprout {
|
|||
};
|
||||
} // namespace detail
|
||||
template<typename... TTypes, typename... UTypes>
|
||||
bool SPROUT_CONSTEXPR inline operator==(
|
||||
SPROUT_CONSTEXPR inline bool operator==(
|
||||
sprout::tuples::tuple<TTypes...> const& lhs,
|
||||
sprout::tuples::tuple<UTypes...> const& rhs
|
||||
)
|
||||
|
@ -62,7 +62,7 @@ namespace sprout {
|
|||
>::eq(lhs, rhs);
|
||||
}
|
||||
template<typename... TTypes, typename... UTypes>
|
||||
bool SPROUT_CONSTEXPR inline operator<(
|
||||
SPROUT_CONSTEXPR inline bool operator<(
|
||||
sprout::tuples::tuple<TTypes...> const& lhs,
|
||||
sprout::tuples::tuple<UTypes...> const& rhs
|
||||
)
|
||||
|
@ -78,7 +78,7 @@ namespace sprout {
|
|||
>::less(lhs, rhs);
|
||||
}
|
||||
template<typename... TTypes, typename... UTypes>
|
||||
bool SPROUT_CONSTEXPR inline operator!=(
|
||||
SPROUT_CONSTEXPR inline bool operator!=(
|
||||
sprout::tuples::tuple<TTypes...> const& lhs,
|
||||
sprout::tuples::tuple<UTypes...> const& rhs
|
||||
)
|
||||
|
@ -86,7 +86,7 @@ namespace sprout {
|
|||
return !(lhs == rhs);
|
||||
}
|
||||
template<typename... TTypes, typename... UTypes>
|
||||
bool SPROUT_CONSTEXPR inline operator>(
|
||||
SPROUT_CONSTEXPR inline bool operator>(
|
||||
sprout::tuples::tuple<TTypes...> const& lhs,
|
||||
sprout::tuples::tuple<UTypes...> const& rhs
|
||||
)
|
||||
|
@ -94,7 +94,7 @@ namespace sprout {
|
|||
return rhs < lhs;
|
||||
}
|
||||
template<typename... TTypes, typename... UTypes>
|
||||
bool SPROUT_CONSTEXPR inline operator<=(
|
||||
SPROUT_CONSTEXPR inline bool operator<=(
|
||||
sprout::tuples::tuple<TTypes...> const& lhs,
|
||||
sprout::tuples::tuple<UTypes...> const& rhs
|
||||
)
|
||||
|
@ -102,7 +102,7 @@ namespace sprout {
|
|||
return !(rhs < lhs);
|
||||
}
|
||||
template<typename... TTypes, typename... UTypes>
|
||||
bool SPROUT_CONSTEXPR inline operator>=(
|
||||
SPROUT_CONSTEXPR inline bool operator>=(
|
||||
sprout::tuples::tuple<TTypes...> const& lhs,
|
||||
sprout::tuples::tuple<UTypes...> const& rhs
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue