
9 Feb
2005
9 Feb
'05
9:10 p.m.
"Jonathan Turkanis" <technews@kangaroologic.com> wrote in message news:cudpdk$t4c$1@sea.gmane.org... | Thorsten Ottosen wrote: | >> yes, the problem shows up when an implicit conversion from Derived* | >> to Base* is needed and when another templated overload exists. The | >> templated overload does not require any conversions and so is deemed | >> a better match. | >> | >> The attached code shows the problem. | >> | >> I guess the problem could be removed with disable_if<>. | | The attached version uses a similar idea, but should work on compilers without | SFINAE. yeah, good idea. Anyway, in the first release I don't plan to support super old compilers. We'll keep the names assign() and insert(). -Thorsten