Home
Sign Up
Sign In
V2EX
›
C
当编译 StrVec 中的 reserve、resize、reallocate 函数时 gcc 报了如下错误?
linux40
·
May 18, 2015
· 1069 views
This topic created in 4092 days ago, the information mentioned may be changed or developed.
more undefined references to `StrVec::alloc' follow,而且这三个函数当中只出现一个函数的定义的话,则无错误,下面贴代码:
第二个是StrVec.cc
顺便求吐槽其他可以改进或改正的地方。
Supplement 1 ·
May 19, 2015
手机端看不了代码啊。。。
Supplement 2 ·
May 19, 2015
呃,能看
Supplement 3 ·
May 19, 2015
问题解决了
No Comments Yet
函数
strvec.cc
strvec
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
929 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 19:29
·
PVG 03:29
·
LAX 12:29
·
JFK 15:29
♥ Do have faith in what you're doing.
❯