title: Return a "const char*" as std::string& from a class method
body: <p>I have a C-Libraray function returning a C-String</p>
  
  <pre><code>const char* myFuncC(struct myS *);
  </code></pre>
  
  <p>Now I write a class mapper:</p>
  
  <pre><code>class myC {
    private:
      struct myS * hdl
      ...
    public:
      const char* myFunc() {
        return myFuncC(hdl);
      }
  
    // want to have...
      const std::string&amp; myFuncS() {
        return ??? myFuncC(hdl);
      }
  }
  </code></pre>
  
  <p>Now I would like to return a: <em><code>const std::string&amp;</code></em> and I <strong>don't</strong> want to <em>copy</em> the C-String pointer data</p>
  
  <p>How I do this?</p>
  
  <p><strong>update</strong></p>
  
  <p>Is there a C++ Class who act like a <em>const C++-String</em> class and using a <em>const C-String pointer</em> as string source ?</p>
  
  <p>I would call this class a <em>C++-String-External</em> … <em>External</em> mean … using a <em>external</em> source as storage… in my case a "const char *"</p>