implicit inline for any template class?
Since any method declared in the class declaration is implicitly inlined...I assume this applies to template classes as well, right?
so
template <class T> class Test {
{
...
inline T** operator&() { return &m_ptr; }
private:
T* m_ptr;
};
...the inline is redundant?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement