Symbian3/SDK/Source/GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46.dita
changeset 2 ebc84c812384
parent 0 89d6a7a84779
--- a/Symbian3/SDK/Source/GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46.dita	Fri Jan 22 18:26:19 2010 +0000
+++ b/Symbian3/SDK/Source/GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46.dita	Thu Mar 11 15:24:26 2010 +0000
@@ -12,8 +12,8 @@
 <concept id="GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46" xml:lang="en"><title>Possible
 Problems</title><prolog><metadata><keywords/></metadata></prolog><conbody>
 <p>This section describes the possible problems that you may encounter when
-you develop applications or libraries on Symbian platform based on Standard
-C++. These problems can occur in the following scenarios: </p>
+you develop applications or libraries on the Symbian platform
+based on Standard C++. These problems can occur in the following scenarios: </p>
 <ul>
 <li id="GUID-A3F0DCD7-CA38-5405-B01D-1E3B3F75B67D"><p><xref href="GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46.dita#GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46/GUID-39350E32-26C2-5440-B221-10EE693CCF18">Use of operator new</xref>  </p> </li>
 <li id="GUID-9B185254-36B9-58F7-888D-8198EAD77769"><p><xref href="GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46.dita#GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46/GUID-A85386B3-3E37-5303-8FBF-211551D5CB71">Use of one definition rule</xref>  </p> </li>
@@ -44,8 +44,8 @@
 says that there must be only one definition of a symbol in a program. But
 to be able to maintain a single definition in a program, symbol pre-emption
 must be possible. This functionality is not supported on the DLL model of
-Symbian platform. </p> <p><b>Example</b> </p> <p>The following example illustrates
-the problem with the use of one definition rule: </p> <codeblock id="GUID-FB9FBAAD-8CB8-5EAB-BA25-18A92822CF8E" xml:space="preserve">//MySingleton.h
+the Symbian platform. </p> <p><b>Example</b> </p> <p>The following example
+illustrates the problem with the use of one definition rule: </p> <codeblock id="GUID-FB9FBAAD-8CB8-5EAB-BA25-18A92822CF8E" xml:space="preserve">//MySingleton.h
 template &lt;class T&gt;
 class MySingleton
     {
@@ -85,11 +85,11 @@
     {
     printf("%d\n", Baz());
     }</codeblock> <p>This example must have displayed the output as <b>1,
-2</b>. But on Symbian platform, it displays <b>1,1</b>. </p> <p>The problem
-here is Symbian platform's DLL model. In particular Symbian platform does
-not support symbol pre-emption. In Symbian platform <codeph>static T * aT</codeph> gets
-allocated in each DLL in which <codeph>X::GetInstance</codeph> is invoked.
-Here the problem arises because Symbian platform cannot redirect the references
+2</b>. But on the Symbian platform, it displays <b>1,1</b>. </p> <p>The problem
+here is, the Symbian platform's DLL model. In particular, the Symbian platform
+does not support symbol pre-emption. <codeph>static T * aT</codeph> gets allocated
+in each DLL in which <codeph>X::GetInstance</codeph> is invoked. Here the
+problem arises because the Symbian platform cannot redirect the references
 in distinct DLLs to a single unique location as required by the ODR. </p> </section>
 <section id="GUID-6CE49D59-46BB-5145-B346-6FD3EA8BC011"><title>Standard C++
 calling Symbian C++ functions</title> <p>The following example illustrates
@@ -100,7 +100,7 @@
 <li id="GUID-CC89E765-AF86-5300-BB76-F84DCF9E3910"><p>one which expects standard
 C++ semantics (<codeph>CppCallee</codeph>), and </p> </li>
 <li id="GUID-2E9D21A4-8FD3-5DC9-A264-7E7FEA05F4A9"><p>another which expects
-Symbian platform semantics (<codeph>GetAK1LC</codeph>). </p> </li>
+the Symbian platform semantics (<codeph>GetAK1LC</codeph>). </p> </li>
 </ul> <p> <codeph>SymbianCallerLC</codeph> itself belongs to the Symbian C++
 world since it participates in the LC convention (it imposes a contract on
 its caller with respect to the object that it returns). </p> <codeblock id="GUID-D88FA0A6-1107-570D-B79A-30EA10E4AB0C" xml:space="preserve">K1 * SymbianCallerLC()
@@ -156,7 +156,7 @@
 <link href="GUID-F7FEB759-E64D-5B6D-9017-C5E982E4FC16.dita"><linktext>Standard
 C++ Library Overview</linktext></link>
 <link href="GUID-2CCD1748-9EDE-5383-9941-A3051E06F3E2.dita"><linktext>Standard
-C++ Support on Symbian Platform</linktext></link>
+C++ Support on the Symbian Platform</linktext></link>
 <link href="GUID-1ACD01D1-2055-581A-9478-2C0D7D1CF9E6.dita"><linktext>Use Cases
 for Writing Standard C++ Code</linktext></link>
 <link href="GUID-E331B72B-84AF-558A-9B8F-73E5E50B58C7.dita"><linktext>Building