
1 Oct
2007
1 Oct
'07
4:53 p.m.
On 10/1/07, Steven Watanabe <steven@providere-consulting.com> wrote:
AMDG
Dean Michael Berris <mikhailberis <at> gmail.com> writes:
And since it's linear inheritance, the derived type (or at least the one in the end of the inheritance hierarchy) will inherit all these overloads to operator=() which will enable the compiler to choose at compile time which overload it's going to use depending on what's on the right hand side of the operator=().
As long as you put using base::operator=; in the derived type
If I recall correctly MSVC 7.1 has problems with chained template inheritance with using base::operator=; directives. It ICEs.
In Christ, Steven Watanabe
-- Felipe Magno de Almeida