mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
modify namespace result_of -> results
support C++14 type_traits
This commit is contained in:
parent
d386893a74
commit
bf0c7021cf
350 changed files with 2628 additions and 1912 deletions
|
@ -15,7 +15,7 @@ namespace sprout {
|
|||
//
|
||||
// operator!=
|
||||
//
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator!=(T const& x, T const& y) {
|
||||
return !(x == y);
|
||||
|
@ -23,7 +23,7 @@ namespace sprout {
|
|||
//
|
||||
// operator>
|
||||
//
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator>(T const& x, T const& y) {
|
||||
return y < x;
|
||||
|
@ -31,7 +31,7 @@ namespace sprout {
|
|||
//
|
||||
// operator<=
|
||||
//
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator<=(T const& x, T const& y) {
|
||||
return !(y < x);
|
||||
|
@ -39,7 +39,7 @@ namespace sprout {
|
|||
//
|
||||
// operator>=
|
||||
//
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
operator>=(T const& x, T const& y) {
|
||||
return !(x < y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue