When I do this, I get the following compilation error which I don't understand:
could not convert ‘((const p4base::GrilleDeJeu*)this)->p4base::GrilleDeJeu::m_grilleDeJeu’ from ‘const std::vector<std::vector<p4base::Jeton> >’ to ‘p4base::GrilleDeJeu’
Whats wrong with my member function? It seems to me that everything is legit...
foo.cpp:4:10: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector< std::vector<Jeton> > grille() const;
^
foo.cpp:7:10: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector< std::vector<Jeton> > m_grilleDeJeu;
^
foo.cpp:10:13: error: ‘vector’ in namespace ‘std’ does not name a template type
inline std::vector< std::vector<Jeton> > GrilleDeJeu::grille() const
^
bother yourself to create a minimal example that does reproduce your issue.