From 9b799c93cb9977c66363958b9f5157841d51a768 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 1 Jul 2020 10:19:18 -0400 Subject: [PATCH] added documentation for new function --- sorting/insertion_sort.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sorting/insertion_sort.cpp b/sorting/insertion_sort.cpp index 4bfce9ce6..32315a87a 100644 --- a/sorting/insertion_sort.cpp +++ b/sorting/insertion_sort.cpp @@ -51,7 +51,7 @@ namespace sorting { /** \brief * Insertion Sort Function * - * @param arr Array to be sorted + * @param [in,out] arr Array to be sorted * @param n Size of Array */ template @@ -67,6 +67,10 @@ void insertionSort(T *arr, int n) { } } +/** Insertion Sort Function + * + * @param [in,out] arr pointer to array to be sorted + */ template void insertionSort(std::vector *arr) { size_t n = arr->size();