<div dir="ltr"><div><div><br></div>Very subtle:  null_terminated should probably be null_terminate (without the d on the end).<br></div>You are asking the function to null terminate the data, not stating that the data is already null_terminated.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 11, 2018 at 7:47 PM, ThePhD <span dir="ltr">&lt;<a href="mailto:phdofthehouse@gmail.com" target="_blank">phdofthehouse@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Dear SG15,<br><br></div>     Titus Winters at C++Now invited people to join the SG15 mailing list (which I didn&#39;t actually know existed!) and share their ideas. I wrote a paper about getting resource data from files into C++ in a cross-platform, compile-time way, under the name &quot;std::embed&quot; -- <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1040r0.html" target="_blank">http://www.open-std.org/jtc1/<wbr>sc22/wg21/docs/papers/2018/<wbr>p1040r0.html</a>.<br><br></div>     I expect the paper to be changed quite a bit as I go to my first C++ Meeting in Rapperswil, but before I do I would like to submit the paper here. It seems like something that would be of benefit to this Study Group, as it can replace many build steps currently used today to handle the same sort of issue.<br><br></div>     If anyone could give me feedback about the paper, what it might meant to them, or if it even is something that truly concerns Tooling, I would greatly appreciate it!<br></div></div></div>
<br>______________________________<wbr>_________________<br>
Tooling mailing list<br>
<a href="mailto:Tooling@isocpp.open-std.org">Tooling@isocpp.open-std.org</a><br>
<a href="http://www.open-std.org/mailman/listinfo/tooling" rel="noreferrer" target="_blank">http://www.open-std.org/<wbr>mailman/listinfo/tooling</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Be seeing you,<br></div>Tony<br></div></div>
</div>