From: Matt Austern (austern_at_[hidden])
Date: 2001-01-25 12:13:32
Gabriel Dos Reis wrote:
> | 2. As an alternative, should Boost libraries use Koenig lookup on compilers
> | where it is supported, and use std:: for compilers where Koenig lookup is
> | not supported? This results in a difference in user interface between
> | compilers. For this to be reasonable, I'd say we have to advertise the
> | overloading of names in std:: as a workaround for lack of Koenig lookup,
> | which then makes it harder to switch to overloading std:: as a recommended
> | approach should the committee decide this is OK.
> Well, judging from the disussions amoung the LWG members, it is not at
> clear that the committee is leaning towards removing that restriction
> -- contrary to what you stated earlier.
My guess is that this issue will be resolved by allowing users to add
overloads within namespace std. I don't like that solution; I think it's
drastic. However, I also don't like any of the other solutions that have
been proposed. My impression of Core's position is that they are reluctant
to make major core language changes like adding support for partial
specialization of functions.
It's probably worth restarting the discussion about this, and seeing if
anyone has new ideas.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk