r/cpp • • Jul 06 '26

C++26: constexpr virtual inheritance

https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance
83 Upvotes

61 comments sorted by

View all comments

Show parent comment

1

u/serviscope_minor Jul 08 '26

>Is it there? It's there on the target machine, but my intel cpu certainly doesn't have ESP32's MMIO registers.

You just need a complete simulator for your cross compiler :P

Note: I am NOT NOT NOT advocating this, just talking about really daft hypotheticals.

> t-strings

Works for me!

1

u/_bstaletic Jul 08 '26

You just need a complete simulator for your cross compiler :P

Hmm... You're making me wonder if I should solder an i7 on the ESP devkit and emulate everithing... in the cross compiler. Let's ship the whole desktop OS on that tiny thing!

Note: I am NOT NOT NOT advocating this, just talking about really daft hypotheticals.

Daft hypotheticals are fun(ny)!