参照変数/オブジェクトで->演算子を使用する状況はありますか?
typedef ABC::Derived<Tmplt> THandle;
THandle m_oNew;
m_oNew->m_u16GetState(); // This is the function call. Here "->" is used.
これは、クラス「派生」と関数定義です。
template<class T>
class Derived;
class AnotherClass
{
friend class Derived;
inline AnimState m_u16GetState () const
{
return m_u16State;
}
};