Browse Source

doc: mark C++20 feature (to help the future me find them)

Michele Caini 4 năm trước cách đây
mục cha
commit
9c254ec3e0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/entt/core/memory.hpp

+ 2 - 2
src/entt/core/memory.hpp

@@ -104,7 +104,7 @@ constexpr void propagate_on_container_swap([[maybe_unused]] Allocator &lhs, [[ma
 }
 
 /**
- * @brief General purpose deleter for allocator-aware unique pointers.
+ * @brief Deleter for allocator-aware unique pointers (waiting for C++20).
  * @tparam Args Types of arguments to use to construct the object.
  */
 template<typename Allocator>
@@ -133,7 +133,7 @@ struct allocation_deleter: private Allocator {
 };
 
 /**
- * @brief Allows `std::unique_ptr` to use allocators.
+ * @brief Allows `std::unique_ptr` to use allocators (waiting for C++20).
  * @tparam Type Type of object to allocate for and to construct.
  * @tparam Allocator Type of allocator used to manage memory and elements.
  * @tparam Args Types of arguments to use to construct the object.