prog.cpp:19:1: error: prototype for ‘B::B(std::string, int, int, int, int)’ does not match any in class ‘B’
B::B(std::string title, int xpos, int ypos, int width, int height) : m_pA(title,
^
prog.cpp:9:7: error: candidates are: constexpr B::B(B&&)
class B : A
^
prog.cpp:9:7: error: constexpr B::B(const B&)
prog.cpp:16:2: error: B::B(std::string, int, int)
B(std::string title, int xpos, int ypos);
^