How to resolve the problem “there are no arguments to ‘function name’ that depend on a template parameter, so a declaration of ‘function name’ must be available”? TOC
Background
1.自定义模板类Stack 时,继承了vecotr 模板类
2. 模板类Stack 的方法调用vector 的方法 size().
3. build 时报错:"there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’