title: unique_ptr compile error
body: <p>I guess this is embarrassing if I told you I cant get this to compile. would you please help me:</p>
  
  <pre><code>#include&lt;memory&gt;
  using namespace std;
  
  int  main()
  {
      std::unique_ptr&lt;int&gt; p1(new int(5));
      return 0;
  }
  </code></pre>
  
  <pre class="lang-none prettyprint-override"><code>$ gcc main.cpp 
  main.cpp: In function ‘int main()’:
  main.cpp:6:2: error: ‘unique_ptr’ was not declared in this scope
  main.cpp:6:13: error: expected primary-expression before ‘int’
  main.cpp:6:13: error: expected ‘;’ before ‘int’
  
  $ gcc --version
  gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
  </code></pre>