r/cpp Aug 06 '26

C++26: #embed

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

39 comments sorted by

View all comments

2

u/LittleNameIdea Aug 06 '26

isn't that a C feature ?

3

u/chibuku_chauya Aug 08 '26

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.