Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Feb 4, 2025
1 parent 9016514 commit 0bc1d64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/xtd.core/include/xtd/extensions/equality_operators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
namespace xtd {
/// @brief The xtd::extensions namespace contains interface extensions.
namespace extensions {
/// @brief Internal comparable operators definition.
/// @brief Internal equality operators definition.
/// @par Definition
/// ```cpp
/// template<class type_t, class equatable_t>
/// class equality_operators
/// ```
/// @par Header
/// ```cpp
/// #include <xtd/equality_operators
/// #include <xtd/extensions/equality_operators
/// ```
/// @par Namespace
/// xtd
Expand All @@ -38,8 +38,9 @@ namespace xtd {
/// @param lhs The left hand side value to compare.
/// @param rhs The right hand side value to compare.
/// @return `true` if lhs is not equal to rhs; otherwise `false`.
friend bool operator !=(const type_t& lhs, const type_t& rhs) noexcept {return !operator ==(lhs, rhs);}
friend bool operator !=(const type_t& lhs, const type_t& rhs) noexcept {return !lhs.equals(rhs);}
/// @}

private:
friend equatable_t;
equality_operators() = default;
Expand Down

0 comments on commit 0bc1d64

Please sign in to comment.