Workaround for ambiguous call to overloaded function
<pre><code>void printOutput(std::string text);
void printOutput(std::string&amp; text);
</code></pre>

<p>Both functions print some text out to the console, but I wanted to handle each case where:</p>

<pre><code>std::string testOutput = "asdf";
output-&gt;printOutput(testOutput); // Gives the error as it can use either function
</code></pre>

<p>In some cases I may want to:</p>

<pre><code>output-&gt;printOutput("asdf"); // Only the first function can be used
</code></pre>

<p>Rather new to all this, is there a way I can handle this?</p>
