Commit 332d7e5f authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Add documentation for List.size()

parent 2b410b17
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -102,6 +102,13 @@ template<class T> class List {
    return current->value;
  }

  /*! \fn length()
   * \brief Get the number of elements in the list.
   *
   * Get the number of elements currently stored in the list.
   *
   * \return int: the size of the list.
   */
  int length() {
    return size;
  }