From 2a15f25fbb9d68af2f6c3adaff75d0513b7eaeb1 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Fri, 1 Jul 2016 23:19:22 +0100 Subject: [PATCH] Corrected spelling of 'lexicographically'. --- src/ideque.h | 8 ++++---- src/iforward_list.h | 8 ++++---- src/ilist.h | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/ideque.h b/src/ideque.h index 7d091b93..8f52340e 100644 --- a/src/ideque.h +++ b/src/ideque.h @@ -1409,7 +1409,7 @@ bool operator !=(const etl::ideque& lhs, const etl::ideque& rhs) /// Less than operator. ///\param lhs Reference to the _begin deque. ///\param rhs Reference to the second deque. -///\return true if the _begin deque is lexigraphically less than the second, otherwise false +///\return true if the _begin deque is lexicographically less than the second, otherwise false ///\ingroup deque //*************************************************************************** template @@ -1425,7 +1425,7 @@ bool operator <(const etl::ideque& lhs, const etl::ideque& rhs) /// Less than or equal operator. ///\param lhs Reference to the _begin deque. ///\param rhs Reference to the second deque. -///\return true if the _begin deque is lexigraphically less than or equal to the second, otherwise false +///\return true if the _begin deque is lexicographically less than or equal to the second, otherwise false ///\ingroup deque //*************************************************************************** template @@ -1438,7 +1438,7 @@ bool operator <=(const etl::ideque& lhs, const etl::ideque& rhs) /// Greater than operator. ///\param lhs Reference to the _begin deque. ///\param rhs Reference to the second deque. -///\return true if the _begin deque is lexigraphically greater than the second, otherwise false +///\return true if the _begin deque is lexicographically greater than the second, otherwise false ///\ingroup deque //*************************************************************************** template @@ -1451,7 +1451,7 @@ bool operator >(const etl::ideque& lhs, const etl::ideque& rhs) /// Greater than or equal operator. ///\param "lhs Reference to the _begin deque. ///\param "rhs Reference to the second deque. -///\return true if the _begin deque is lexigraphically greater than or equal to the second, otherwise false +///\return true if the _begin deque is lexicographically greater than or equal to the second, otherwise false ///\ingroup deque //*************************************************************************** template diff --git a/src/iforward_list.h b/src/iforward_list.h index 3a5bc436..b663ad8e 100644 --- a/src/iforward_list.h +++ b/src/iforward_list.h @@ -995,7 +995,7 @@ bool operator !=(const etl::iforward_list& lhs, const etl::iforward_list& /// Less than operator. ///\param lhs Reference to the first forward_list. ///\param rhs Reference to the second forward_list. -///\return true if the first forward_list is lexigraphically less than the +///\return true if the first forward_list is lexicographically less than the /// second, otherwise false. //************************************************************************* template @@ -1011,7 +1011,7 @@ bool operator <(const etl::iforward_list& lhs, const etl::iforward_list& r /// Greater than operator. ///\param lhs Reference to the first forward_list. ///\param rhs Reference to the second forward_list. -///\return true if the first forward_list is lexigraphically greater than the +///\return true if the first forward_list is lexicographically greater than the /// second, otherwise false. //************************************************************************* template @@ -1024,7 +1024,7 @@ bool operator >(const etl::iforward_list& lhs, const etl::iforward_list& r /// Less than or equal operator. ///\param lhs Reference to the first forward_list. ///\param rhs Reference to the second forward_list. -///\return true if the first forward_list is lexigraphically less than or equal +///\return true if the first forward_list is lexicographically less than or equal /// to the second, otherwise false. //************************************************************************* template @@ -1037,7 +1037,7 @@ bool operator <=(const etl::iforward_list& lhs, const etl::iforward_list& /// Greater than or equal operator. ///\param lhs Reference to the first forward_list. ///\param rhs Reference to the second forward_list. -///\return true if the first forward_list is lexigraphically greater than or +///\return true if the first forward_list is lexicographically greater than or /// equal to the second, otherwise false. //************************************************************************* template diff --git a/src/ilist.h b/src/ilist.h index 2f99fc59..50795bf2 100644 --- a/src/ilist.h +++ b/src/ilist.h @@ -319,7 +319,7 @@ namespace etl const node_t* p_node; }; - typedef typename std::iterator_traits::difference_type difference_type; + typedef typename std::iterator_traits::difference_type difference_type; typedef std::reverse_iterator reverse_iterator; typedef std::reverse_iterator const_reverse_iterator; @@ -446,7 +446,7 @@ namespace etl //************************************************************************* /// Assigns a range of values to the list. - /// If asserts or exceptions are enabled throws etl::list_full if the list does not have enough free space. + /// If asserts or exceptions are enabled throws etl::list_full if the list does not have enough free space. /// If ETL_THROW_EXCEPTIONS & _DEBUG are defined throws list_iterator if the iterators are reversed. //************************************************************************* template @@ -559,7 +559,7 @@ namespace etl #if defined(ETL_CHECK_PUSH_POP) ETL_ASSERT(!empty(), ETL_ERROR(list_empty)); #endif - node_t& node = get_tail(); + node_t& node = get_tail(); remove_node(node); } @@ -1147,7 +1147,7 @@ bool operator !=(const etl::ilist& lhs, const etl::ilist& rhs) /// Less than operator. ///\param lhs Reference to the first list. ///\param rhs Reference to the second list. -///\return true if the first list is lexigraphically less than the +///\return true if the first list is lexicographically less than the /// second, otherwise false. //************************************************************************* template @@ -1163,7 +1163,7 @@ bool operator <(const etl::ilist& lhs, const etl::ilist& rhs) /// Greater than operator. ///\param lhs Reference to the first list. ///\param rhs Reference to the second list. -///\return true if the first list is lexigraphically greater than the +///\return true if the first list is lexicographically greater than the /// second, otherwise false. //************************************************************************* template @@ -1176,7 +1176,7 @@ bool operator >(const etl::ilist& lhs, const etl::ilist& rhs) /// Less than or equal operator. ///\param lhs Reference to the first list. ///\param rhs Reference to the second list. -///\return true if the first list is lexigraphically less than or equal +///\return true if the first list is lexicographically less than or equal /// to the second, otherwise false. //************************************************************************* template @@ -1189,7 +1189,7 @@ bool operator <=(const etl::ilist& lhs, const etl::ilist& rhs) /// Greater than or equal operator. ///\param lhs Reference to the first list. ///\param rhs Reference to the second list. -///\return true if the first list is lexigraphically greater than or +///\return true if the first list is lexicographically greater than or /// equal to the second, otherwise false. //************************************************************************* template