作者:
janyfor (妳哪位ㄚ)
2014-12-04 00:38:40開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Android
遇到有關於 template 使用的一個問題
簡碼如下
template <class U>
class cls{
class inner{
static wp<inner> mWeak;
}
}
這樣似乎不行
template <class U>
cls<U>::inner::wp<inner> cls<U>::inner::mWeak;
請問 mWeak 應該如何去初始化呢?