Browse Source

doc: minor changes

Michele Caini 1 year ago
parent
commit
5428dfaf69
1 changed files with 8 additions and 14 deletions
  1. 8 14
      src/entt/entity/view.hpp

+ 8 - 14
src/entt/entity/view.hpp

@@ -643,13 +643,10 @@ public:
     }
     }
 
 
     /**
     /**
-     * @brief Attaches a storage to the end of the view for iterating.
-     *
-     * @tparam OGet The type of the storage to attach to the view.
-     * @param other The storage to attach to the view.
-     * @return A new view with the given storage attached.
-     * @note This function only supports adding one storage, use @ref operator| to join two views instead.
-     * @sa operator|
+     * @brief Combines a view and a storage in _more specific_ view.
+     * @tparam OGet Type of storage to join the view with.
+     * @param other The storage for the type to join the view with.
+     * @return A more specific view.
      */
      */
     template<typename OGet>
     template<typename OGet>
     [[nodiscard]] auto join(OGet &other) const noexcept {
     [[nodiscard]] auto join(OGet &other) const noexcept {
@@ -1088,13 +1085,10 @@ public:
     }
     }
 
 
     /**
     /**
-     * @brief Attaches a storage to the end of the view for iterating.
-     *
-     * @tparam OGet The type of the storage to attach to the view.
-     * @param other The storage to attach to the view.
-     * @return A new view with the given storage attached.
-     * @note This function only supports adding one storage, use @ref operator| to join two views instead.
-     * @sa operator|
+     * @brief Combines a view and a storage in _more specific_ view.
+     * @tparam OGet Type of storage to join the view with.
+     * @param other The storage for the type to join the view with.
+     * @return A more specific view.
      */
      */
     template<typename OGet>
     template<typename OGet>
     [[nodiscard]] auto join(OGet &other) const noexcept {
     [[nodiscard]] auto join(OGet &other) const noexcept {