Tôi đã có một kịch bản như sau:Truy cập Namespace Chánh trong C++
class criterion
{
// stuff about criteria...
};
namespace hex {
class criterion : public criterion //does not compile
{ //This should inherit from the
//A hex specific criterion //criterion class in the global namespace
};
};
Câu hỏi của tôi là - như thế nào một kế thừa từ một lớp trong một namspace đó là phụ huynh của không gian tên khác?
Billy3