Skip to content

Commit

Permalink
Merge branch 'main' into 240723_bmqt_QueueOptions_rule_of_3
Browse files Browse the repository at this point in the history
  • Loading branch information
678098 authored Jul 24, 2024
2 parents 82ae22c + ecca25c commit f67ee24
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/groups/mwc/mwcc/mwcc_orderedhashmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ class OrderedHashMap_SequentialIterator {

// MANIPULATORS

/// Assign to this object the value of the specified `rhs` object.
OrderedHashMap_SequentialIterator& operator=(const NcIter& rhs);

/// Advance this iterator to the next element in the sequential list and
/// return its new value. The behavior is undefined unless this
/// iterator is in the range `[begin() .. end())` (i.e., the iterator is
Expand Down Expand Up @@ -885,6 +888,15 @@ inline OrderedHashMap_SequentialIterator<
}

// MANIPULATORS

template <class VALUE>
inline OrderedHashMap_SequentialIterator<VALUE>&
OrderedHashMap_SequentialIterator<VALUE>::operator=(const NcIter& rhs)
{
d_link_p = rhs.d_link_p;
return *this;
}

template <class VALUE>
inline OrderedHashMap_SequentialIterator<VALUE>&
OrderedHashMap_SequentialIterator<VALUE>::operator++()
Expand Down
12 changes: 12 additions & 0 deletions src/groups/mwc/mwcc/mwcc_orderedhashmapwithhistory.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ class OrderedHashMapWithHistory_Iterator {

// MANIPULATORS

/// Assign to this object the value of the specified `rhs` object.
OrderedHashMapWithHistory_Iterator& operator=(const NcIter& rhs);

/// Advance this iterator to the next element in the sequential list and
/// return its new value. The behavior is undefined unless this
/// iterator is in the range `[begin() .. end())` (i.e., the iterator is
Expand Down Expand Up @@ -386,6 +389,15 @@ inline OrderedHashMapWithHistory_Iterator<
}

// MANIPULATORS

template <class VALUE>
inline OrderedHashMapWithHistory_Iterator<VALUE>&
OrderedHashMapWithHistory_Iterator<VALUE>::operator=(const NcIter& rhs)
{
d_baseIterator = rhs.d_baseIterator;
return *this;
}

template <class VALUE>
inline OrderedHashMapWithHistory_Iterator<VALUE>&
OrderedHashMapWithHistory_Iterator<VALUE>::operator++()
Expand Down

0 comments on commit f67ee24

Please sign in to comment.