title: How to initialize to zero/NULL in a template
body: <p>While writing a template, I want to initialize my variable to a value that serves as zero or null the the data type. If I set it to 0x00 is it going to serve as zero/NULL for any type ?</p>
  
  <p>for example </p>
  
  <p>This is template declaration</p>
  
  <pre><code>template &lt;class T&gt;
  ...
  T A=0x00;
  </code></pre>
  
  <p>Now if I define an instance of type T => std::string the above statement serves as <code>NULL</code> ?</p>
  
  <p>What about "<code>int</code>" and "<code>unsigned int</code>". For both of the it serves as "0" ?</p>