#include "Vecteur.hxx"

#include <iostream>
using namespace std;



#ifdef __PAR_ICI_L_AMI__
ostream &operator<<(ostream &o, const Vecteur &v)
{
  for (int i=0;
       i < v.taille_;
       i++)
  {
    cout << "Indice " << i << " élement " << v.tab_[i] << endl;
  }
  return o;
}
#else
std::ostream &operator<<(std::ostream &o, const Vecteur &v)
{
  for (int i=0;
       i<v.taille();
       i++)
    cout << "Indice " << i << " élement " << v[i] << endl;
  return o;
}
#endif
