operator>()

System::operator>(std::nullptr_t, DateTime) function

constexpr bool System::operator>(std::nullptr_t, DateTime)

System::operator>(std::nullptr_t, const DateTimeOffset&) function

constexpr bool System::operator>(std::nullptr_t, const DateTimeOffset &)

System::operator>(std::nullptr_t, const Nullable<T>&) function

Always returns false.

template<typename T> bool System::operator>(std::nullptr_t, const Nullable<T> &)

System::operator>(const T1&, const Nullable<T2>&) function

Determines if the specified value is greater than the value represented by the specified Nullable object by applying operator>() to these values.

template<typename T1,typename T2> std::enable_if<!IsNullable<T1>::value, bool>::type System::operator>(const T1 &some, const Nullable<T2> &other)

Template parameters

ParameterDescription
T1The type of the first comparand value
T2The underlying type of the Nullable object that represents the second comparand value

Arguments

ParameterTypeDescription
someconst T1&A constant reference to the value that is to be used as the first comparand
otherconst Nullable<T2>&A constant reference to the Nullable object the represented value of which is to be used as the second comparand

Return Value

True if the first comparand is greater than the second comparand, otherwise - false

System::operator>(std::nullptr_t, TimeSpan) function

constexpr bool System::operator>(std::nullptr_t, TimeSpan)

See Also