在sysbian系统中可否进行类成员初始化?解决思路

在sysbian系统中可否进行类成员初始化?
在sysbian系统中可否进行类成员初始化?
C/C++ code
CURI::CURI(ENCODING encoding)
: m_encoding(encoding), m_lCount(1), m_strScheme(NULL), m_strHost(NULL), m_Port(-1),
m_strPath(NULL), m_strFragment(NULL)
{
}



------解决方案--------------------
Symbian OS v9.1 » Symbian OS reference » C++ component reference » Base E32 » TDes16

protected: inline TDes16();

protected: inline TDes16(TInt aType, TInt aLength, TInt aMaxLength);


实际上,这些定义都能编译过的:
TBuf<10> buf(); // 但实际上 buf().Copy(anotherBuf); buf并不是变量
TBuf<10> buf(NULL);
TBuf<10> buf(anotherBuf);

第一个buf()应该是TBuf类型的函数