pybind11 icon indicating copy to clipboard operation
pybind11 copied to clipboard

Seamless operability between C++11 and Python

Results 368 pybind11 issues
Sort by recently updated
recently updated
newest added

### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...

triage

### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...

build system

Resolves https://github.com/pybind/pybind11/issues/1309 PR made at [cielavenir](https://github.com/cielavenir)'s request.

## Issue description Is there a reason why handles are not implicitly constructible from ints (I may well have missed something obvious...)? e.g. something like ``` py::object func() { py::object...

I understand how the other operators are overloaded but I'm having difficulty with this one. This is my code (simplified): ``` float& Vec::operator[](unsigned i) { return privatedata[i]; } py::class_(m, "Vec")...

Testing out alternatives w.r.t. #1132, I was testing out the behavior of something like this: ```c++ class A { public: A(int value) : value_(value) {} int value() const { return...

holders

## Description ## Suggested changelog entry: ```rst ```

ci

Edit: I updated it to all files. But some time passed, so a massive rebase will be needed, which I'll do when I get the greenlight from contribs that the...

## Description Addresses a change in: https://github.com/pybind/pybind11/pull/3310 Discussion/rationale can be found over at: https://github.com/pybind/pybind11/pull/3310#discussion_r887191310 ## Suggested changelog entry: ```rst Fixes the class names generated by ``bind_map``: - Change the naming...

The copy/move return value policy does not apply correctly to a C++ reference returned from the function in case the reference being returned is already associated with a previously registered...