Difference between revisions of "CXAutoReferenceNotThreadSafe"

From cxwiki

(Created page with "<div class="mw-parser-output">The CXAutoReferenceNotThreadSafe templated class is a trivial variant of CXAutoReference which forgoes any thread safety mechanisms if favor of r...")
 
 
Line 1: Line 1:
<div class="mw-parser-output">The CXAutoReferenceNotThreadSafe templated class is a trivial variant of CXAutoReference which forgoes any thread safety mechanisms if favor of raw performance.</div>
+
<div class="mw-parser-output"><div class="mw-parser-output">The CXAutoReferenceNotThreadSafe templated class is a trivial variant of CXAutoReference which forgoes any thread safety mechanisms if favor of raw performance. The referenced object must expose a specific reference counting interface- typically this is achieved by inheriting from DynamicReferenceCount but other techniques are permitted.</div> <div class="mw-parser-output">&nbsp;</div> <div class="mw-parser-output">''CXAutoReferenceNotThreadSafe<T>'' is designed to act in a manner syntactically equivalent&nbsp;to ''T*'' where possible.</div> <div class="mw-parser-output">&nbsp;</div> </div>

Latest revision as of 07:15, 23 February 2018

The CXAutoReferenceNotThreadSafe templated class is a trivial variant of CXAutoReference which forgoes any thread safety mechanisms if favor of raw performance. The referenced object must expose a specific reference counting interface- typically this is achieved by inheriting from DynamicReferenceCount but other techniques are permitted.
 
CXAutoReferenceNotThreadSafe<T> is designed to act in a manner syntactically equivalent to T* where possible.