ce0c183737
gcc libstdc++ built with -D_GLIBCXX_DEBUG includes in std::array::operator[] an assertion of the form: ``` assert(index < size()); ``` The valptridx allow_end_construction constructor, when given a completely full array, will call operator[](size()), which causes the assertion to fail. Rework the constructor to compute an end iterator without using operator[]. valptridx allow_end_construction expects that the resulting iterator may be the end iterator and shall not be dereferenced. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
include | ||
main | ||
maths | ||
mem | ||
misc | ||
music | ||
texmap | ||
ui | ||
unittest |