What version (or hash if on master) of pybind11 are you using?
2.12.0
Problem description
Environment:
Xcode Version: 15.3
Compiler: Apple clang (default)
C++ Language Dialect: C++17 (std=c++17)
Description:
A compilation error occurs when using pybind11 version 12.2.0. The error originates from line 1145 of pybind11.h. There is no issue in 2.11.1 and before.
Error Message:
Loop variable 'kwarg' binds to a temporary value produced by a range of type 'pybind11::dict'
Required prerequisites
What version (or hash if on master) of pybind11 are you using?
2.12.0
Problem description
Environment:
Xcode Version: 15.3 Compiler: Apple clang (default) C++ Language Dialect: C++17 (std=c++17) Description:
A compilation error occurs when using pybind11 version 12.2.0. The error originates from line 1145 of pybind11.h. There is no issue in 2.11.1 and before.
Error Message:
Loop variable 'kwarg' binds to a temporary value produced by a range of type 'pybind11::dict'
Code Snippet:
Reproducible example code
No response
Is this a regression? Put the last known working version here if it is.
2.11.1