Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-01-29 16:01:33


on 1/29/00 3:10 PM, Valentin Bonnard at Bonnard.V_at_[hidden] wrote:

>> In each case there are workarounds, however the point here is that the
>> presence of an overload in namespace std may prevent overwise perfectly
>> legal C++ code from compiling - and that code could be in your standard
>> library - in other words simply including a user-defined header that
>> defines overloads in std can disable standard library code.
>
> That's correct. It would basically imply that lib code
> cannot use standard lib templates or function, only
> non-standard ones. And that's _not_ what we wanted. YADR.
>

YADR? Please decode.

Personally, I don't think I'd mind putting that restriction on library
implementors. The fact that most names are available to users for use as
preprocessor macros is a much more serious restriction on implementors.

-Dave


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