这是我遇到的错误,我不太明白这里发生了什么:
Undefined symbols for architecture x86_64:
"set::set(unsigned long)", referenced from:
_main in test_set.o
set_union(set const&, set const&) in set.o
set_intersection(set const&, set const&) in set.o
set_difference(set const&, set const&) in set.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我不确定你是否可以在没有看到完整代码的情况下告诉我发生了什么,所以如果你需要它,请告诉我。这只是很多代码。