"ostream" is ambiguous

Aug 26, 2014 at 1:01 PM
Hi,

When I add
using namespace concurrency;
everything is compiled well but when I add
using namespace concurrency::streams;
then get a lots of compiling error ('ostream':ambiguous symbol) and I understand the reason. The compiler cannot determine which ostream I refer to:
Concurrency::streams::basic_ostream<CharType> Concurrency::streams::ostream'
Or
std::ostream
Well, I can always add std directive to all the places that I have ostream, (like below) where the compiler complain:
friend ostream& operator<< (ostream& output, const Node &N);
But there must be another solution to this problem. Could it be so that I should remove any include file that I had before using namespace concurrency::streams?
I have also the following include files in my code:

include <cmath>

include <list>

include <string>

include <vector>

include <iostream>

include <iomanip>

include <fstream>

include <sstream>

include <cstdlib>

include <ctime>

include <map>

include <stdexcept>

include <algorithm>

include <locale>

include <hash_map>

include <tchar.h>

Best regards
RezRaz