Short answer: None.
Long answer: Well, not really. You can fake it. You can declare it outside and use it with operators inside the namespace, for example:
#include <iostream>
namespace A
{
using std::cout;
};
int main(){
A::cout << "\nSample";
system("PAUSE");
return 0;
}
You cannot localize the library, because even if it had access to A, it would not have access in the standard namespace.
In addition, "Another problem is that the qualified names inside the namespace will be A :: std :: cout, but the library will not contain names corresponding to the external namespace." thanks Jonathan Leffler.
, , , , cpp iostream . ( - ), , .