我正在做这件事
boost::gregorian::date current_date(boost::date_time::day_clock::local_day());
我收到了以下错误信息。
‘template<class date_type> class boost::date_time::day_clock’ used without template parameters
我需要做什么不同的吗?
参考资料 http://www.boost.org/doc/libs/1_47_0/doc/html/date_time/gregorian.html#date_construct_from_clock