Skip to content
Snippets Groups Projects
Commit a48e6071 authored by Lasse Hinrichsen-Bischoff's avatar Lasse Hinrichsen-Bischoff
Browse files

Fix VariableBlockVector test

parent 0b3b1274
No related branches found
No related tags found
1 merge request!250Fix VariableBlockVector's CreateIterator
......@@ -44,6 +44,7 @@ int main()
// Test whether something from <algorithm> can be used to set the block sizes
// We can't use std::fill() here, as that requires a forward iterator, std::fill_n()
// is more lenient and settles for an output iterator
v1.resize(size);
std::fill_n(v1.createbegin(), size, 10);
// More formally: test whether the CreateIterator is an output iterator in the stl sense
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment