1 综述
C++中的模板分为两类,一是类模板,二是函数模板。
REG_CONF_FIX_STRING(p_main_conf, "tag_dict_path", path_buff, PATH_MAX);
_tag_dict = tag_create(path_buff);
if (NULL == _tag_dict) {
LX_LOG_FATAL("load tag dict failed, path = [%s]", path_buff);
return -1;
}