|
Is there any documentation specifically about writing interoperability code between C++ and CPP2? I saw that cppfront has the -p flag to only allow CPP2 syntax, which I assume means that you can write regular C++ code inside of any CPP2 file? I haven't tried it, so not sure if that is what it means. Or only in specific parts? Given that CPP2 generates some things using std/stl stuff, and changes around some defaults of what is mutable or constant. I couldn't find any documentation page that puts that information in one place. |
Answered by
hsutter
Sep 22, 2026
Replies: 1 comment 3 replies
|
Yes, there is! You can find it here: Mixing Cpp1 (today's C++) and Cpp2 in the same source file. Th |
3 replies
Answer selected by
Wallby
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, there is! You can find it here: Mixing Cpp1 (today's C++) and Cpp2 in the same source file. Th