boostorg / boostorg/python

`no_proxy_helper` should not access `Container::value_type`

Abierto
#419 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
537
Forks
223
Merge medio
11 h 22 min
PR fusionados (30 d)
2

Descripción

[see code here](https://github.com/boostorg/python/blob/master/include/boost/python/suite/indexing/detail/indexing_suite_detail.hpp#L487)

Some containers may not provide proper `value_type` member, and the user can still manually passing its element type as `Key` or `Data` template parameter to `indexing_suite`. So `indexing_suite` already know the container's value type, and does not need containers to have `::value_type`. Its detailed implementation should then directly reading it from `indexing_suite`, not from `Container::value_type` again.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.