mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
Added assertion in static_vector.
[SVN r81980]
This commit is contained in:
@@ -314,7 +314,10 @@ private:
|
||||
try
|
||||
{
|
||||
for ( ; first != last ; ++it, ++first, ++s )
|
||||
{
|
||||
BOOST_ASSERT_MSG(s < Capacity, "size can't exceed the capacity");
|
||||
this->uninitialized_fill(it, *first); // may throw
|
||||
}
|
||||
m_size = s; // update end
|
||||
}
|
||||
catch(...)
|
||||
|
||||
Reference in New Issue
Block a user