$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Unresolved overloaded function type with local_time and function
From: Nevin Liber (nevin_at_[hidden])
Date: 2010-09-21 16:30:47
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...
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404