Boost logo

Boost :

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

"Jonathan Turkanis" <technews_at_[hidden]> wrote in message
| 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

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().


Boost list run by bdawes at, gregod at, cpdaniel at, john at