Boost C++ Libraries: Ticket #10952: program_options in wchar_t https://svn.boost.org/trac10/ticket/10952 <p> In Visual Studio 2013, ansi MFC builds are deprecated. More products will have to convert to wchar_t. I am aware that wchar_t is not the best Unicode representation, but it is quite dominant on Windows platforms. Some program_options parts however are bound to hard code ansi strings. For example the options_description uses std::string and char*: </p> <div class="wiki-code"><div class="code"><pre><span class="n">po</span><span class="p">::</span><span class="n">options_description</span> <span class="n">desc</span><span class="p">(</span><span class="s2">&quot;Allowed options&quot;</span><span class="p">);</span> <span class="n">std</span><span class="p">::</span><span class="n">wcout</span> <span class="o">&lt;&lt;</span> <span class="n">desc</span><span class="p">;</span> <span class="o">//</span><span class="n">error</span> <span class="p">(</span><span class="n">actual</span> <span class="n">use</span> <span class="ow">is</span> <span class="n">a</span> <span class="n">std</span><span class="p">::</span><span class="n">wofstream</span><span class="p">)</span> </pre></div></div><p> Can't this just made complete template based on char type? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10952 Trac 1.4.3 aothms Mon, 11 Sep 2017 13:09:43 GMT <link>https://svn.boost.org/trac10/ticket/10952#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10952#comment:1</guid> <description> <p> Any updates on this? </p> </description> <category>Ticket</category> </item> </channel> </rss>