If I include "boost/date_time/posix_time/posix_time.hpp" in a file and
compile the file using the Gnu C++ compiler, everything works fine.
But if I compile the file using Miscrosoft Visual C++, I get this
error message from the lexical_cast.hpp file:
...\boost\lexical_cast.hpp(147): error C2678: binary '<<' : no
operator found which takes a left-hand operand of type
'std::basic_stringstream<_Elem,_Traits,_Alloc>' (or there is no
acceptable conversion)
with
[
_Elem=wchar_t,
_Traits=std::char_traits