How to pass a string literal to a function which takes const std::wstring&
<p>I have a function which takes <code>const std::wstring&amp;</code> font_family, i.e.</p>

<pre><code>Font Font::CreateFont(const std::wstring&amp; font_family){ ... }
</code></pre>

<p>By question is how can I call that funcion by passing a string literal (e.g monospace)?</p>

<p>I tried </p>

<pre><code>CreateFont("monospace");
CreateFont("std::wstring("monospace") );
</code></pre>

<p>Both does not compile. 
Any one have better idea?</p>

<p>Thank you.</p>
