boostorg / boostorg/python

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

Ouverte
#419 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
537
Forks
223
Merge moyen
11 h 22 min
PR mergées (30 j)
2

Description

[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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.