mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 07:02:11 +00:00
4038542b15
This line had two bugs: 1. It declares `py::detail::class_` as `friend`. 2. After fixing that, we would have to change it to `template <typename, typename...>` The first one was introduced ~5 years ago, when a large refactoring was made, probably as an intermediate step during refactoring. The second was made when `generic_type` was made to be agnostic with respect to the order of `py::class_` template parameters. We're removing the declaration altogether, because it was never relied on. This is what makes me think that it was an intermediate step in refactoring that shouldn't have ended up in commit history. |
||
---|---|---|
.. | ||
pybind11 |