注册器模式
需要强制进行转换
报错文件的头文件中含有 函数的实现,加上 inline 关键字
2019.6.16 周总结
原文:https://www.cnblogs.com/simplepaul/p/11030921.html