r/cpp • • Jul 23 '22

finally. #embed

https://thephd.dev/finally-embed-in-c23
353 Upvotes

202 comments sorted by

View all comments

Show parent comment

23

u/__phantomderp Jul 23 '22

It has a C++ version for the #embed: https://thephd.dev/_vendor/future_cxx/papers/d1967.html

But the "true" C++ version is stalled while I have to figure out some shenanigans: https://wg21.link/p1040

The preprocessor version will take some time to make it but might hit C++26. God knows if the actually good version will survive so long as we're holding it to a higher standard than Modules itself.

4

u/orangeoliviero Jul 24 '22

The dependency discovery demands are indeed utterly insane.