I am having trouble with some date_time files. The following code (from
the boost documentation):
#include "boost/date_time/posix_time/posix_time.hpp"
#include "boost/date_time/local_time_adjustor.hpp"
#include "boost/date_time/c_local_time_adjustor.hpp"
#include <iostream>
int main()
{ return(0);
}
gives me errors
C:\LOCAL\INCLUDE/boost/date_time/posix_time/time_formatters_limited.hpp(77):
error: more than one operator "<<" matches these operands:
function "std::basic_ostream<_E,
_Tr>::operator<<(std::_Bool={bool={bool}}) [with _E=char,
_Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(short)
[with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(unsigned
short) [with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(int)
[with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(unsigned
int) [with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(long)
[with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(unsigned
long) [with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(float)
[with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(double)
[with _E=char, _Tr=std::char_traits<char>]"
function "std::basic_ostream<_E, _Tr>::operator<<(long
double) [with _E=char, _Tr=std::char_traits<char>]"
operand types are: std::basic_ostream