摘要: template class SquareMatriBase{ protected: void invert(std::size_t matrixSize); }; template class SquareMatrix : private SquareMatriBase//private继承表示SquareMatrix由SquareMatriBase继承而来 { private: ... 阅读全文
posted @ 2017-03-19 17:22 zzyoucan 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #include class CompanyA{ public: void sendCleartext(const std::string& msg){}; void sendEncrypted(const std::string& msg){}; }; class CompanyB{ void sendCleartext(const std::string& msg... 阅读全文
posted @ 2017-03-19 14:08 zzyoucan 阅读(162) 评论(0) 推荐(0) 编辑