<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[int8_t -&amp;gt; std::u16string]]></title><description><![CDATA[<p>Huhu,</p>
<p>Ich möchte einen int8_t in einen std::u16string umwandeln. Es gibt doch für jede Umwandlung im Standard die to_string Funktionen, warum nicht auch to_u16string?<br />
Den Umweg über stringtreams möchte ich ungern nehmen.</p>
<p>Grüße,<br />
PI</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/293374/int8_t-gt-std-u16string</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 09:58:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/293374.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Oct 2011 19:24:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to int8_t -&amp;gt; std::u16string on Sat, 01 Oct 2011 19:24:59 GMT]]></title><description><![CDATA[<p>Huhu,</p>
<p>Ich möchte einen int8_t in einen std::u16string umwandeln. Es gibt doch für jede Umwandlung im Standard die to_string Funktionen, warum nicht auch to_u16string?<br />
Den Umweg über stringtreams möchte ich ungern nehmen.</p>
<p>Grüße,<br />
PI</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2125938</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2125938</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sat, 01 Oct 2011 19:24:59 GMT</pubDate></item><item><title><![CDATA[Reply to int8_t -&amp;gt; std::u16string on Sat, 01 Oct 2011 22:33:22 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">template&lt;typename T&gt;
std::u16string to_u16string(T x) {
  std::string tmp = std::to_string(x);
  return std::u16string(tmp.begin(), tmp.end());
}
</code></pre>
<p>?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2125988</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2125988</guid><dc:creator><![CDATA[seldon]]></dc:creator><pubDate>Sat, 01 Oct 2011 22:33:22 GMT</pubDate></item></channel></rss>