title: Override keyword throwing an error while compile
body: <p>I have base class</p>
  
  <pre><code>template&lt;typename T&gt;
  Class Base {
    Base();
  
  public:
    virtual void myfunc()=0; 
  }
  </code></pre>
  
  <p>I have derived class </p>
  
  <pre><code>template&lt;typename T&gt;
  Class Derived: public Base&lt;T&gt; {
    Derived():Base() {
    }
  
  public:
    void myfunc() override; 
  }
  </code></pre>
  
  <p>When I compile <code>g++ -std=c++0x</code>, I get the error with the overriding function highlighted,
  <code>error: expected ‘;’ at end of member declaration</code>
  <code>error: ‘override’ does not name a type</code></p>
  
  <p>g++ version is 4.6. </p>