Such ambiguity is exactly the thing namespaces were created to solve, so if you "throw them away" with
If constantly typing
using statements you've exactly unsolved the problem. As stevetgates' reply suggests, a blanket using namespace std; is not a good idea for anything except trivial programs.If constantly typing
concurrency::streams::ostream is too much work, consider renaming the namespace, e.g., namespace crts = concurrency::streams; in files where you are using the concurrency::streams members. You can also write using statements in functions, such asvoid use_members_of_long_namespace()
{
using namespace concurrency::streams; //<- only affects this function
file_stream<uint8_t>::open_ostream(...).then(...);
...
}








