[low prioirty] Support for exposing (or suppressing) methods `{name}begin()` and `{name}end()` as `{name}()` that return an iterator?
cppyy has a feature to support iterator inference; I think this could be done with both pybind11
and AST analysis, with heuristics that could be enabled/disabled similar to the property stuff in current autopybind11
(eb4e7270) - additionally, the heuristics would need to avoid collision with existing elements.
(Marked as low priority b/c I'm running into this when perusing the clang API, which I still dunno if it's good idea, but it's a great exercise.)
Example C++ API:
https://github.com/llvm/llvm-project/blob/d620a6fe98f74d9b305a0d45d4c6804b0e46bf6c/clang/include/clang/AST/DeclCXX.h#L605-L617
Edited by Eric Cousineau