r/cpp • • Dec 13 '19

The situation of std::embed...

https://thephd.github.io/full-circle-embed
238 Upvotes

160 comments sorted by

View all comments

Show parent comments

1

u/bigcheesegs Tooling Study Group (SG15) Chair | Clang dev Dec 15 '19

As long as they are declared in a way that the preprocessor could know about them, then that's fine.

0

u/Ameisen vemips, avr, rendering, systems Dec 15 '19

Why can we not just change C++ to use two-phase compilation like C#?

I suppose I am using 'just' quite loosely.