huangmingchuan / Cpp_Primer_Answers

《C++ Primer》第五版中文版习题答案

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

有关练习13.28

fsZhuangB opened this issue · comments

std::string value; int *count; TreeNode *left; TreeNode *right;
请问class TreeNode的数据域是不是写错了?在原书中是int count,但是答案中写的是int * count
我的理解是作者想要在此处实现引用计数的功能?