Well, that's really unfortunate, because it makes CB uncompetitive with VC++, at least in this area. Both code samples do work correctly in VC++ 2010, and it seems not to use the "include entire namespace hack" you suggest. That means that the problem is soluble, and I think it is an important one. I recommend CB very strongly in all my posts and blogging about C++, but if a major language feature like this is not supported, I may have to tone this down :-( Well, at least CB's FOSS competitor CodeLite doesn't seem to get it right either...