Double conversion would solve it but there is not such a thing in C++, right?
<p>I have something like this...</p>

<pre><code>void f(dclass b);

class dclass
{
    dclass(string s);
};

f("s");
</code></pre>

<p>This does not seem to work. In principle, it could with double conversion: <code>char* -&gt; string -&gt; dclass</code></p>

<p>So there is no such a thing in C++. Or maybe some compilers support it... Do you know a language where it may be possible?</p>
