Remove a member from an object by iterator. ! \param pos iterator to the member to remove \pre IsObject() == true && \ref MemberBegin() <= \c pos < \ref MemberEnd() \return Iterator following the removed element. If the iterator \c pos refers to the last element, the \ref MemberEnd() iterator is returned. \note This function preserves the relative order of the r
| 1433 | \note Linear time complexity. |
| 1434 | */ |
| 1435 | MemberIterator EraseMember(ConstMemberIterator pos) { |
| 1436 | return EraseMember(pos, pos +1); |
| 1437 | } |
| 1438 | |
| 1439 | //! Remove members in the range [first, last) from an object. |
| 1440 | /*! \param first iterator to the first member to remove |
no test coverage detected