title: const object and const constructor
body: <p>Is there any way to know if an object is a const object or regular object, for instance consider the following class</p>
  
  <pre><code>class String
  {
     String(const char* str);
  };
  </code></pre>
  
  <p>if user create a const object from <code>String</code> then there is no reason to copy the passed native string and that because he will not make any manipulation on it, the only thing he will do is get string size, string search and other functions that will not change the string.</p>