I use boost 1.32 with VS 6.0 (sp5) on Windows2000.
If I try this :
int anIntValue(-0);
std::cout << anIntValue << '\n';\
I get : 0
And, if I try this :
boost::format formatTest("My test : %0.0f \n");
double theValue(-0.0002);
std::string theString = boost::io::str(formatTest % theValue);
I get : "My test : -0"
Is it the right behavior? I was expecting the same result (simply a 0). Maybe I am wrong...
Thank you for any advise / suggestion.
Alain