HaFred / ROS-DiLearnNavi

Yet Another Navigation Package
0 stars 0 forks source link

C++ and OO Programming Tips #14

Open HaFred opened 2 years ago

HaFred commented 2 years ago

This issue records some programming tips I run into for C++ in OO fashion.

HaFred commented 2 years ago

在编写C++动态库的过程中,我们常常会听到某个要求:请隐藏动态库头文件里类接口里的成员变量!或者自己在编写动态库时,突然意识到自己好像让调用者看到的信息太多了,而这些信息根本无需被调用者看到,往往调用者只需要接口函数而已,所以给他们接口函数就可以了。 (https://blog.csdn.net/rs_lys/article/details/84728368)

Or can this be done in a binary form? Need to also record how to dump the binary file as one of the src (just like the lightfly package used here).

HaFred commented 2 years ago

Dynamic Lib vs. Static Lib

https://www.cnblogs.com/skynet/p/3372855.html