资 源 简 介
在用C++写要导出类的库时,我们经常只想暴露接口,而隐藏类的实现细节。也就是说我们提供的头文件里只提供要暴露的公共成员函数的声明,类的其他所有信息都不会在这个头文件里面显示出来。这个时候就要用到接口与实现分离的技术。
-Using C++ to write the database to export category, we just want to expose the regular interface, and the realization of the hidden details of categories. This means that we provide only the first document to be exposed to public member functions of the statement, all other information in this header file will not be displayed inside. This time will be used to achieve separation of interface and technology.