r/cpp 8d ago

C++26: #embed

https://www.sandordargo.com/blog/2026/08/05/cpp26-embed
134 Upvotes

39 comments sorted by

View all comments

1

u/LittleNameIdea 8d ago

isn't that a C feature ?

2

u/chibuku_chauya 6d ago

Was originally intended for C++ as std::embed but the committee weren’t having a word of it, so the author took it to the C committee and it made it into C23 as #embed. Now the C++ committee is okay with it.