(file) Return to String.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/String.h between version 1.74 and 1.75

version 1.74, 2003/03/12 21:02:53 version 1.75, 2003/07/14 13:55:35
Line 192 
Line 192 
         <pre>         <pre>
             String test = "abc";             String test = "abc";
             printf("test = %s\n", (const char*)test.getCString());             printf("test = %s\n", (const char*)test.getCString());
   
               NOTE:  Do not do the following:
               const char * p = (const char *)test.getCString();
               The pointer p will be invalid.  This is because
               the CString object is destructed, which deletes
               the heap space for p.
         </pre>         </pre>
     */     */
     CString getCString() const;     CString getCString() const;


Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2