Open ThePhD opened 4 years ago
I now have to figure out how
#embed [bits-per-element]opt [max-elements]opt header-name
can be done. Disambiguation of the numeric constant for bits-per-element versus max-elements means you cannot specify just one of them and have the preprocessor know which one...
This paper is on track. The next time it is seen it will just be
#embed [max-elements]opt header-name
It will always produce a comma-delimited sequence of unsigned char
. Just need to update the paper now.
The wording needed a lot of work, so we fixed it up quite a bit:
https://thephd.github.io/_vendor/future_cxx/papers/C%20-%20embed.html
Not sure where to best put this, but I found this issue so I'll comment here. Comments apply to draft proposal of June 15, 2021.
#include <cstdio>
if you're including includes in the examplefread()
into an array of ints, but the example uses unsigned char
When I refer to links that don't render correctly, this is the document I'm looking at: https://thephd.dev/_vendor/future_cxx/papers/d1967.html
Thanks for looking out; these have all been edited / fixed.
C++ paper has been split off into it's own thing. Which looks prettier because it uses bikeshed now:
C++ and C papers have been properly split up. Wording is based on which link you travel:
https://thephd.dev/_vendor/future_cxx/papers/d1967.html https://thephd.dev/_vendor/future_cxx/papers/C%20-%20embed.html
Added to C23; only C++26 part left.
Submitted the latest for this: https://wg21.link/p1967r12
#embed
is a pre-processor directive for the inclusion of binary data into a program through implementation-defined resource lookup.Latest draft is: https://thephd.github.io/vendor/future_cxx/papers/source/C%20-%20embed