Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-02-09 16:10:22


"Jonathan Turkanis" <technews_at_[hidden]> wrote in message
news:cudpdk$t4c$1_at_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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk