Closed m-pilia closed 9 months ago
Avoid directly using the member value_type of a container, and deduce the value type from the iterator instead (using std::iterator_traits). This allows to use container matchers on containers that do not expose their value type as a member type.
value_type
std::iterator_traits
Resolves #4375
Closing since we closed #4375, see explanation there.
Avoid directly using the member
value_type
of a container, and deduce the value type from the iterator instead (usingstd::iterator_traits
). This allows to use container matchers on containers that do not expose their value type as a member type.Resolves #4375