mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-09 23:23:54 +00:00
Restored the original static assert check.
This commit is contained in:
parent
f9effffb6d
commit
5ed3144969
@ -43,7 +43,7 @@ void permutation_test()
|
||||
const int element_range_size = 10;
|
||||
const int index_size = 7;
|
||||
|
||||
static_assert(index_size < element_range_size, "The permutation of some elements is checked.");
|
||||
static_assert(index_size <= element_range_size, "The permutation of some elements is checked.");
|
||||
|
||||
element_range_type elements( element_range_size );
|
||||
for( element_range_type::iterator el_it = elements.begin(); el_it != elements.end(); ++el_it )
|
||||
|
Loading…
x
Reference in New Issue
Block a user