added additional post test

[SVN r2673]
This commit is contained in:
Jan Gaspar
2005-08-01 16:02:35 +00:00
parent b88ffd3e71
commit 4904a8f6b6
2 changed files with 206 additions and 2 deletions

View File

@@ -1212,8 +1212,7 @@ private:
//! Specialized assign method.
template <class InputIterator>
void assign(InputIterator first, InputIterator last, std::input_iterator_tag) {
BOOST_CB_ASSERT(cb_details::TEMPLATED_ITERATOR_CONSTRUCTORS_PROVIDED);
std::deque<value_type> tmp(first, last);
std::deque<value_type> tmp(first, last); // won't compile if the STL implementation doesn't provide templated iterator constructor
do_assign(tmp.size(), assign_range<BOOST_DEDUCED_TYPENAME std::deque<value_type>::iterator>(tmp.begin(), tmp.end(), m_alloc));
}