| To: | REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com> |
|---|---|
| Subject: | Returning a reference to a local class? |
| From: | "Theodore H.Smith" <delete at elfdata dot com> |
| Date: | Fri, 20 May 2005 16:53:43 +0100 |
| Delivered-to: | realbasic-plugins at lists dot realsoftware dot com |
Will this crash or result in a bug?
MyCppClass& Func() {
MyCppClass instance = "UsesAnAssignmentOperator";
return instance;
}
--
elfdata.com/plugin/ Industrial strength string processing, made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Another problem (Ok on Windows but not on the Mac), Björn Eiríksson |
|---|---|
| Next by Date: | Re: c++ class return, Theodore H.Smith |
| Previous by Thread: | Another problem, Björn Eiríksson |
| Next by Thread: | Re: c++ class return, Theodore H.Smith |
| Indexes: | [Date] [Thread] [Top] [All Lists] |