You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Bond generates code as follows:
https://godbolt.org/z/a4qnbcjeh
But this does not work in C++20 (in clang) because the constructor will be instantiated with the forward declaration and compilation will fail.
A possible fix is to move the constructor body until after all entities have bee fully defined:
https://godbolt.org/z/6YjarYx3c
Office is currently hitting this when trying to update to C++20.