mercredi 12 août 2020

error: ‘home’ is not a member of ‘abc::cap’

I created a TestBall class and inside I put these namespace. The directory is abc fold-> cap-> TestHome.class, but when I created a shared pointer and it didn't work. Would you please take a look?

namespace abc { 
namespace cap { 
namespace home {

std::shared_ptr<abc::cap::home::TestBall> m_testBall;

error: ‘home’ is not a member of ‘abc::cap’ std::shared_ptr<abc::cap::home::TestBall>

Aucun commentaire:

Enregistrer un commentaire