diff --git a/alib2std/src/extensions/container/ptr_array.hpp b/alib2std/src/extensions/container/ptr_array.hpp index 60402c30056d935e00cf1cc89bf9b691681c00e8..0ad287dacd5be932634a9b263ed6f294c53c470c 100644 --- a/alib2std/src/extensions/container/ptr_array.hpp +++ b/alib2std/src/extensions/container/ptr_array.hpp @@ -536,6 +536,8 @@ public: * \brief * Setter of value in the array on position specified by iterator specified by \p pos. The value is cloned from the \p value. * + * \tparam R the actual type of constructed value + * * \param pos the iterator specifying position to set * \param value the value to place at given position * @@ -555,6 +557,8 @@ public: * \brief * Setter of value in the array on position specified by iterator specified by \p pos. The value is cloned from the \p value. * + * \tparam R the actual type of constructed value + * * \param pos the iterator specifying position to set * \param value the value to place at given position * diff --git a/alib2std/src/extensions/container/vector.hpp b/alib2std/src/extensions/container/vector.hpp index 2b768e9221cd1f6d0d8892fc9b8cdd6a62e55aae..c408afb7c44321e90e6cfae504c6b30bee7bf9da 100644 --- a/alib2std/src/extensions/container/vector.hpp +++ b/alib2std/src/extensions/container/vector.hpp @@ -225,8 +225,6 @@ public: * \brief * Inserts the value on position given by iterator \p pos * - * \tparam R the actual type of value stored inside the vector - * * \param pos the position to insert at * \param value the value to insert * @@ -240,8 +238,6 @@ public: * \brief * Inserts the value on position given by iterator \p pos * - * \tparam R the actual type of value stored inside the vector - * * \param pos the position to insert at * \param value the value to insert * @@ -255,8 +251,6 @@ public: * \brief * Inserts the \p count copies of value on position given by iterator \p pos * - * \tparam R the actual type of value stored inside the vector - * * \param pos the position to insert at * \param count the number of copies to insert * \param value the value to insert @@ -287,8 +281,6 @@ public: * \brief * Inserts the values from the given initializer list to positions starting at given iterator \p pos * - * \tparam R the types stored inside the initializer list - * * \param pos the position to insert at * \param ilist the initializer list * @@ -307,15 +299,14 @@ public: * \brief * Inserts a new value to the container at position given by parameter \p pos. The new value is constructed inside the method from constructor parameters. * - * \tparam R the actual type of value stored inside the vector - * \tparam Args ... the types of arguments of the R constructor + * \tparam Args ... the types of arguments of the T constructor * * \param pos the position to set - * \param args ... the arguments of the R constructor + * \param args ... the arguments of the T constructor * * \return updated iterator to the newly inserted value */ - template < class R = T, class ... Args > + template < class ... Args > reverse_iterator emplace ( const_reverse_iterator pos, Args && ... args ) { return reverse_iterator ( std::next ( emplace ( pos.base ( ), std::forward < Args > ( args ) ... ) ) ); }