You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template
void assign(TIterator first, const TIterator last, parameter_t value)
{
// Copy from the range.
iterator p = etl::copy(first, last, begin()); // shouldn't this also be etl::copy_s? What happens if range [first, last[ is bigger than [begin(), end()[?
// Initialise any that are left.
etl::fill(p, end(), value); // what happens here if p > end()?
}
The text was updated successfully, but these errors were encountered:
On assign method of etl/array.h
template
void assign(TIterator first, const TIterator last, parameter_t value)
{
// Copy from the range.
iterator p = etl::copy(first, last, begin()); // shouldn't this also be etl::copy_s? What happens if range [first, last[ is bigger than [begin(), end()[?
// Initialise any that are left.
etl::fill(p, end(), value); // what happens here if p > end()?
}
The text was updated successfully, but these errors were encountered: