// Verify that the -notcms switch works correctly. // This switch tells ccdoc to ignore template class // methods that are defined outside of a declaration. template class Test { public: Test(); ~Test(); T GetValue() const {return m_val;} void SetValue(T val); bool operator==(const T&) const; private: T m_val; }; template Test::Test() { } template Test::~Test() { } template void Test::SetValue(T val) { m_val = val; } template bool Test::operator==(const T&) const { return false; } template T real_fct(T val) { Test f; f.SetValue(val); return f.GetValue(); } template<> int real_fct(int); template<> class Test;