|
Boost Users : |
Subject: [Boost-users] strange linker error with boost::function
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2009-07-28 16:33:15
Can anyone think why I would get an unresolved symbol on this
monstrosity from the liker:
public: __thiscall
boost::function<
class std::auto_ptr<struct esi::command::command>
__cdecl(class std::vector<
struct
esi::draw::primitives::point_impl<double>
,class std::allocator<struct
esi::draw::primitives::point_impl<double> > > const &
)
>
::function
<
class std::auto_ptr<struct esi::command::command>
__cdecl(class std::vector<
struct
esi::draw::primitives::point_impl<double>
,class std::allocator<struct
esi::draw::primitives::point_impl<double> > > const &
)
>
<
class std::auto_ptr<struct esi::command::command>
(__cdecl*)(class std::vector<
struct
esi::draw::primitives::point_impl<double>
,class std::allocator<struct
esi::draw::primitives::point_impl<double> > > const &
)
>
(class std::auto_ptr<struct esi::command::command>
(__cdecl*)(class std::vector<
struct
esi::draw::primitives::point_impl<double>
,class std::allocator<struct
esi::draw::primitives::point_impl<double> > > const &
)
,int
)
I tried to clean it up a bit. Looks to me like there's no instantiation
of the appropriate constructor to the function template.
I tried to recreate the problem in a simple sample but can't seem to do
it. Hoping that I'm falling foul of a common issue that someone might
be able to just give me pointers toward fixing.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net