Changes between Version 21 and Version 22 of MapGuideCodingStandards


Ignore:
Timestamp:
Jul 14, 2008, 1:42:26 PM (16 years ago)
Author:
jbirch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideCodingStandards

    v21 v22  
    9999}}}
    100100
    101 In this case !MgFoo is a ref-counted object, and because of this you might think your only choice is call to new and assign the result to a smart pointer.  In fact, if the call to Bar does not add any references to the object then the following code which doesn't call new also works:
     101In this case !MgFoo is a ref-counted object, and because of this you might think your only choice is to call new and assign the result to a smart pointer.  In fact, if the call to Bar does not add any references to the object then the following code which doesn't call new also works:
    102102{{{
    103103#!cpp