diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-07-09 13:58:10 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-07-09 13:58:10 +0200 |
| commit | 14027b42ef30075dedbe4f08328da65e6cc308a9 (patch) | |
| tree | ac8656250b23bc65ea248aa5d0177e9f04c3ba79 | |
| parent | 47b935e2c85a794d60c22e8d96f53c0a2d364977 (diff) | |
| download | kernel-14027b42ef30075dedbe4f08328da65e6cc308a9.tar.xz kernel-14027b42ef30075dedbe4f08328da65e6cc308a9.zip | |
kstd: silence documentation warnings
| -rw-r--r-- | libs/kstd/kstd/print.hpp | 2 | ||||
| -rw-r--r-- | libs/kstd/kstd/vector.hpp | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libs/kstd/kstd/print.hpp b/libs/kstd/kstd/print.hpp index 6d00d83f..0d37efbe 100644 --- a/libs/kstd/kstd/print.hpp +++ b/libs/kstd/kstd/print.hpp @@ -26,6 +26,7 @@ namespace kstd //! @qualifier kernel-defined //! Format the given error string using the given arguments and print it to the currently active output device. //! + //! @param sink The output sink to print to. //! @param format The format string //! @param args The arguments to use to place in the format string's placeholders. template<typename... Args> @@ -54,6 +55,7 @@ namespace kstd //! Format the given error string using the given arguments and print it, including a newline, to the currently active //! output device. //! + //! @param sink The output sink to print to. //! @param format The format string //! @param args The arguments template<typename... Args> diff --git a/libs/kstd/kstd/vector.hpp b/libs/kstd/kstd/vector.hpp index 7cc14283..d6ad232a 100644 --- a/libs/kstd/kstd/vector.hpp +++ b/libs/kstd/kstd/vector.hpp @@ -107,6 +107,7 @@ namespace kstd //! @tparam ForwardIterator An iterator type used to describe the source range. //! @param first The start of the source range. //! @param last The end of the source range. + //! @param allocator The allocator to use in the vector. template<std::forward_iterator ForwardIterator> constexpr vector(ForwardIterator first, ForwardIterator last, allocator_type const & allocator = @@ -127,6 +128,7 @@ namespace kstd //! @tparam InputIterator An iterator type used to describe the source range. //! @param first The start of the source range. //! @param last The end of the source range. + //! @param allocator The allocator to use in the vector. template<std::input_iterator InputIterator> constexpr vector(InputIterator first, InputIterator last, allocator_type const & allocator = @@ -228,6 +230,7 @@ namespace kstd //! Construct a new vector and initialize it's content by copying all elements in the given initializer list. //! //! @param list The initializer list containing the source objects. + //! @param allocator The allocator to use in the vector. vector(std::initializer_list<value_type> list, allocator_type const & allocator = allocator_type{}) : vector{std::ranges::begin(list), std::ranges::end(list), allocator} {} @@ -639,6 +642,7 @@ namespace kstd //! Insert the element of a given range into the vector at a given position. //! + //! @param position The position where to insert the elements. //! @param range The source range to insert elements from. //! @tparam SourceRange A container compatible range type. template<typename SourceRange> |
