// June 25, 2002: fixed template insert() - credit due to Robert Minsk

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@26 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
aandrei 2002-06-26 06:34:54 +00:00
parent 0dcd0a5743
commit 8ed641a431

View file

@ -189,7 +189,7 @@ namespace Loki
} }
template <class InputIterator> template <class InputIterator>
iterator insert(InputIterator first, InputIterator last) void insert(InputIterator first, InputIterator last)
{ for (; first != last; ++first) insert(*first); } { for (; first != last; ++first) insert(*first); }
void erase(iterator pos) void erase(iterator pos)
@ -328,6 +328,7 @@ namespace Loki
// June 11, 2001: remove paren in equal_range - credit due to Cristoph Koegl // June 11, 2001: remove paren in equal_range - credit due to Cristoph Koegl
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!! // June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
// January 22, 2002: fixed operator= - credit due to Tom Hyer // January 22, 2002: fixed operator= - credit due to Tom Hyer
// June 25, 2002: fixed template insert() - credit due to Robert Minsk
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#endif // ASSOCVECTOR_INC_ #endif // ASSOCVECTOR_INC_