mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-22 06:43:19 +08:00
`accessor` currently relies on an implicit default copy constructor, but that is deprecated in C++11 when a copy assignment operator is present and can, in some cases, raise deprecation warnings (see #888). This commit explicitly specifies the default copy constructor and also adds a default move constructor.