Added templated versions of static_vector copy ctor and assignment.

GCC compile error fixed in test.

[SVN r82028]
This commit is contained in:
Adam Wulkiewicz
2012-12-16 18:45:23 +00:00
parent 32fbcf66ed
commit 24f349839f
2 changed files with 19 additions and 2 deletions

View File

@@ -426,7 +426,7 @@ void test_insert_nd(T const& val)
for ( size_t i = 0 ; i <= h ; ++i )
{
static_vector<T, N> s1(s);
std::list<T>::iterator it = l.begin();
typename std::list<T>::iterator it = l.begin();
std::advance(it, n);
s1.insert(s1.begin() + i, l.begin(), it);
BOOST_CHECK(s1.size() == h+n);