title: const_iterator and template, compilation error
body: <p>I can't understand why the following code is not working, any idea ?</p>
  
  <pre><code>template &lt;class T&gt;
  class Matrice
  {
  public:
  ...
      typedef typename std::vector&lt;T&gt;::const_iterator const_iterator;
      const_iterator&amp; cend ( )
      {
          return valeurs.cend ( );
      }
  ...
  private:
  ...
  }
  </code></pre>
  
  <p>here's the complilator's complaint :</p>
  
  <blockquote>
    <p>/Users/Aleks/Documents/DS OO/DS OO/Matrice.h:70:16: Non-const lvalue
    reference to type 'const_iterator' (aka '__wrap_iter')
    cannot bind to a temporary of type 'const_iterator' (aka
    '__wrap_iter')</p>
  </blockquote>