21 Sep
2010
21 Sep
'10
8:51 p.m.
AMDG On 9/21/2010 1:30 PM, Nevin Liber wrote:
I'm getting the dreaded "unresolved overloaded function type" error on the following line of code:
boost::function<boost::posix_time::ptime()> fn(boost::posix_time::microsec_clock::local_time);
If I wrap the call to local_time() in a function or a function object, it works without any issues. I don't see any other overloads for local_time().
I'm sure it's something simple I'm just not seeing...
I see template<class time_zone_type> static time_type local_time(shared_ptr<time_zone_type> tz_ptr); static time_type local_time(); In Christ, Steven Watanabe