[问题] Android 内的一个 cpp 档

楼主: gn00618777 (非常念旧)   2016-01-26 10:47:15
不好意思,我是新手,好像有看过书上的教学,但现在突然找不到了...
我在网络上的博客中某一个 cpp 档
里面有一段用法
sp <ProcessState> ProcessState::self(){
....
...
...
}
<xxxx>
作者: Caesar08 (Caesar)   2016-01-26 11:26:00
你需要的是关键字"template class"
作者: BlazarArc (Midnight Sun)   2016-01-26 12:52:00
class template
楼主: gn00618777 (非常念旧)   2016-01-26 22:41:00
感谢! 找到教学了 ^^

Links booklink

Contact Us: admin [ a t ] ucptt.com