But I has remove the line "using namespace std";
--
/*******************/
×ÔÓÉ£šliberty£©ÎÞ·ÇŸÍÊÇÕâÑùÒ»ÖÖ³Ðŵ£ºÃ¿žöÈËœ«»áµÃµœÒ»ÖÖ±£ÕÏ£¬±£ÕÏÎÒÃÇ¿ÉÒÔÓë
ÈšÍþ¡¢¶àÊý¡¢Á÷Ë׌°ÓßÂÛµÄÓ°ÏìÏ࿹ºâ¡£
/*******************/
"Darin Adler"
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
#include 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
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/