Skip to content

[pull] master from panda3d:master#9

Merged
pull[bot] merged 21 commits into
DigitalDescent:masterfrom
panda3d:master
May 18, 2026
Merged

[pull] master from panda3d:master#9
pull[bot] merged 21 commits into
DigitalDescent:masterfrom
panda3d:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 18, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

rdb added 21 commits May 15, 2026 13:35
The picture of whether inline variables would be a step forwards here is
actually a bit murky. The current solution is battle-tested, inclined
not to fix what ain't broken.
Negligible user base, Python already dropped it, modern XCode can't
target it anymore, and it is a blocker for C++17

Fixes #1718
Adds support for string_view, fixes parser issues, removes
`using namespace std;` from generated code, and many other things (see
interrogate changelog)
This is more efficient, avoids an extra copy when passing in strings
from Python code
This is safe now that we use C++17 due to the changed rules on copy
elision.
Though in practice compilers handled these cases as expected, C++17 introduced std::launder to legalize this pattern
The thirdparty package for OpenEXR is outdated, this problem will go
away when the new thirdparty building mechanism on shaderpipeline branch
lands
Methods taking std::string should generally either take std::string (if
they're going to make a copy anyway) or std::string_view if they just
need to access it temporarily, not const std::string &

Map lookups have been made more efficient by making them use
heterogenous lookup
Careful with this, since std::clamp has UB when max < min, so not all
cases are converted
@pull pull Bot locked and limited conversation to collaborators May 18, 2026
@pull pull Bot added the ⤵️ pull label May 18, 2026
@pull pull Bot merged commit b451359 into DigitalDescent:master May 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant