Boost logo

Boost :

Subject: Re: [boost] [explore] Extending namespace std
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-12-15 20:49:45


Jeffrey Faust wrote:

>> In regards to extending namespace std, I understand what the standard
>> says and I think I understand the reasons behind it. One could add
>> something to namespace std that conflicts with an existing item,
>> changing the behavior. This is undefined behavior, and the
>> standard is right in restricting it. I don't believe this problem
>> exists for this library in how we plan to extend std.

How can anyone possibly know that? That is, how could
two different developers who didn't know each other possibly
know that they weren't going to conflict?

Of course if you wanted to officially extended the namespace
that would be a different thing entirely.

Robert Ramey


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