$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Darin Adler (darin_at_[hidden])
Date: 2003-01-04 21:42:40
On Friday, January 3, 2003, at 10:34 PM, Black Ice wrote:
> Can I assume it's a bug of boost.date_time?
No.
>>> using namespace std;
>>>
>>> #include <boost/date_time/gregorian/gregorian.hpp>
>>> #include <boost/date_time/posix_time/posix_time.hpp>
The above code has an error. You must not do a "using namespace" before
including a header file and expect that to work.
I recommend that you move the using namespace directives so they are
all below all your includes.
-- Darin