sublist exercise causes "redeclared as different kind of entity" error
未关闭
- 主要语言
- C++
- 星标
- 290
- 派生
- 244
- PR 合并指标
- 30 天内没有已合并 PR
描述
Using...
`
namespace sublis {
enum List_comparison {
equal,
sublist,
superlist,
unequal
};`
`List_comparison sublist(const std::vector& list_a, const std::vector& list_b);
}
`
... I get the following:
error: ‘sublist::List_comparison sublist::sublist(const std::vector&, const std::vector&)’ redeclared as different kind of entity
I recommend a different name for the sublist function.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。