1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>Reset</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/ut/Overview.html">ut</a>::<a href="../../../nw/ut/MovePtr/Overview.html">MovePtr</a>::Reset</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14template <typename TTObject, typename TTDeleter> 15void Reset( 16 TTObject * object, 17 TTDeleter deleter 18); 19</pre> 20 </div> 21 <h2>Template Arguments</h2> 22 <div class="section"> 23 <table class="arguments"> 24 <thead> 25 <tr> 26 <th>Name</th> 27 <td>Description</td> 28 </tr> 29 </thead> 30 <tr> 31 <th>TTObject</th> 32 <td>Type of object to be swapped.</td> 33 </tr> 34 <tr> 35 <th>Deleter type for deleting TTDeleter objects.</th> 36 <td> 37 </td> 38 </tr> </table> 39 </div> 40 <h2>Arguments</h2> 41 <div class="section"> 42 <table class="arguments"> 43 <thead> 44 <tr> 45 <td width="15" /> 46 <th>Name</th> 47 <td>Description</td> 48 </tr> 49 </thead> 50 <tr> 51 <td>in</td> 52 <th>object</th> 53 <td>The instance to be swapped.</td> 54 </tr> 55 <tr> 56 <td /> 57 <th><CODE>deleter</CODE></th> 58 <td> 59 </td> 60 </tr> 61 <tr> 62 <td>in</td> 63 <th>deleter</th> 64 <td>Deleter for deleting objects.</td> 65 </tr> </table> 66 </div> 67 <h2>Return Values</h2> 68 <div class="section"> 69 None. 70 </div> 71 <h2>Description</h2> 72 <div class="section"> 73 <p>Deletes stored instances and swaps objects.</p> 74 </div> 75 <hr><p>CONFIDENTIAL</p></body> 76</html> 77