Skip to content

Expand index constant instead of size_type on TreeContainer

This is mainly an oversight. The accessor to get every index in the tree path is casted implicitely to std::size_t, while we need and integral constant. It is important that this is correct when the leaf container may be different on composite nodes. Otherwise, the compiler will complaints dynamic indices are not sufficient to deduce the leaf type.

Merge request reports