title: Can nullptr be emulated in gcc?
body: <p>I saw that <code>nullptr</code> was implemented in Visual Studio 2010. I like the concept and want to start using it as soon as possible; however GCC does not support it yet. My code needs to run on both (but doesn't have to compile with other compilers).</p>
  
  <p>Is there a way to "emulate" it? Something like:</p>
  
  <pre><code>#define nullptr NULL
  </code></pre>
  
  <p>(That obviously wouldn't work well at all, it's just to show what I mean.)</p>