
16 Dec
2009
16 Dec
'09
1:49 a.m.
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