3 Mar
2005
3 Mar
'05
7:53 a.m.
Gennadiy Rozental
Why do you need unnamed namespace? Remove it and it will all work.
The type being tested belongs to a library. I do not need the operator<< at the library level, only in the test for BOOST_CHECK_EQUAL support. So I define the operator at in the test scope, in an anonymous namespace because there is no need to export the symbol. That's good practice for me, maybe I am wrong ? Patrick Mézard