Boost logo

Boost Users :

From: Sliwa, Przemyslaw (London) (Przemyslaw_Sliwa_at_[hidden])
Date: 2006-01-31 06:50:54


Ok,
I am using VC++ 6, SP5.
The class has a member function

void CDailyReportTree::foo()
{
}

I am trying to spawn a thread from

void CDailyReportTree::DrawHistoryTree(HTREEITEM item, const
set<pair<string, string>, comp<string, string> >& nodes, const CString&
filename)
{

        map<string, pair<CString, HTREEITEM>, comp<string, pair<CString,
HTREEITEM> > > localMap;

        for (set<pair<string, string>, comp<string, string>
>::const_iterator i_ptr=nodes.begin(); i_ptr!=nodes.end(); ++i_ptr)
        {
                HTREEITEM reportItem =
InsertItem(TVIF_IMAGE|TVIF_TEXT|TVIF_SELECTEDIMAGE,
i_ptr->first.c_str(), 7,8, TVIS_BOLD, TVIF_TEXT, 0, item, item);
                localMap.insert(make_pair(i_ptr->first,
make_pair(i_ptr->second.c_str(), reportItem)));
        }
        
        boost::bind(foo, this);
  
}

And I am getting lots of errors. Can anyone help? The errors are:

DailyReportTree.cpp
Note: Using precompiled header
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784:
'class boost::_bi::bind_t<R,class boost::_mfi::dm<R,T>,class
boost::_bi::list1<class boost::_bi::value<R> > > __cdecl boost::bind(R
T::*,A1)' : could not deduce template argument for
 'overloaded function type' from 'overloaded function type'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::cmf8<R,T,B1,B2,B3,B4,B5,B6,B7,B8>,class
boost::_bi::list9<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::valu
e<R>,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6,B7,B8) const,A1,A2,A
3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(222) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::mf8<R,T,B1,B2,B3,B4,B5,B6,B7,B8>,class
boost::_bi::list9<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value
<R>,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6,B7,B8),A1,A2,A3,A4,A5
,A6,A7,A8,A9)' : expects 10 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(211) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::cmf7<R,T,B1,B2,B3,B4,B5,B6,B7>,class
boost::_bi::list8<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R
>,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(R (__thiscall
T::*)(B1,B2,B3,B4,B5,B6,B7) const,A1,A2,A3,A4,A5,A6,A7,A8)' : expects 9
ar
guments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(198) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::mf7<R,T,B1,B2,B3,B4,B5,B6,B7>,class boost::_bi::list8<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>
,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(R (__thiscall
T::*)(B1,B2,B3,B4,B5,B6,B7),A1,A2,A3,A4,A5,A6,A7,A8)' : expects 9
arguments
 - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(187) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::cmf6<R,T,B1,B2,B3,B4,B5,B6>,class boost::_bi::list7<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,c
lass boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6)
const,A1,A2,A3,A4,A5,A6,A7)' : expects 8 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(174) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::mf6<R,T,B1,B2,B3,B4,B5,B6>,class boost::_bi::list7<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,cl
ass boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(R (__thiscall
T::*)(B1,B2,B3,B4,B5,B6),A1,A2,A3,A4,A5,A6,A7)' : expects 8 arguments -
2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(163) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::cmf5<R,T,B1,B2,B3,B4,B5>,class boost::_bi::list6<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,clas
s boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(R (__thiscall
T::*)(B1,B2,B3,B4,B5) const,A1,A2,A3,A4,A5,A6)' : expects 7 arguments -
2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(150) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::mf5<R,T,B1,B2,B3,B4,B5>,class boost::_bi::list6<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class
 boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(R (__thiscall
T::*)(B1,B2,B3,B4,B5),A1,A2,A3,A4,A5,A6)' : expects 7 arguments - 2
provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(139) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::cmf4<R,T,B1,B2,B3,B4>,class boost::_bi::list5<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class b
oost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl boost::bind(R
(__thiscall T::*)(B1,B2,B3,B4) const,A1,A2,A3,A4,A5)' : expects 6
arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(126) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct
boost::_mfi::mf4<R,T,B1,B2,B3,B4>,class boost::_bi::list5<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class bo
ost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl boost::bind(R
(__thiscall T::*)(B1,B2,B3,B4),A1,A2,A3,A4,A5)' : expects 6 arguments -
2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(115) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct boost::_mfi::cmf3<R,T,B1,B2,B3>,class
boost::_bi::list4<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boos
t::_bi::value<R> > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3)
const,A1,A2,A3,A4)' : expects 5 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(102) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct boost::_mfi::mf3<R,T,B1,B2,B3>,class
boost::_bi::list4<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost
::_bi::value<R> > > __cdecl boost::bind(R (__thiscall
T::*)(B1,B2,B3),A1,A2,A3,A4)' : expects 5 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(91) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct boost::_mfi::cmf2<R,T,B1,B2>,class
boost::_bi::list3<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl b
oost::bind(R (__thiscall T::*)(B1,B2) const,A1,A2,A3)' : expects 4
arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(78) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct boost::_mfi::mf2<R,T,B1,B2>,class
boost::_bi::list3<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl bo
ost::bind(R (__thiscall T::*)(B1,B2),A1,A2,A3)' : expects 4 arguments -
2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(67) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct boost::_mfi::cmf1<R,T,B1>,class
boost::_bi::list2<class boost::_bi::value<R>,class boost::_bi::value<R>
> > __cdecl boost::bind(R (__thiscall T::*)
(B1) const,A1,A2)' : expects 3 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(54) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,struct boost::_mfi::mf1<R,T,B1>,class
boost::_bi::list2<class boost::_bi::value<R>,class boost::_bi::value<R>
> > __cdecl boost::bind(R (__thiscall T::*)(
B1),A1,A2)' : expects 3 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(43) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784:
'class boost::_bi::bind_t<R,struct boost::_mfi::cmf0<R,T>,class
boost::_bi::list1<class boost::_bi::value<R> > > __cdecl boost::bind(R
(__thiscall T::*)(void) const,A1)' : could not
deduce template argument for 'overloaded function type' from 'overloaded
function type'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784:
'class boost::_bi::bind_t<R,struct boost::_mfi::mf0<R,T>,class
boost::_bi::list1<class boost::_bi::value<R> > > __cdecl boost::bind(R
(__thiscall T::*)(void),A1)' : could not deduce
template argument for 'overloaded function type' from 'overloaded
function type'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@Vtemplate-parameter-BAE_at_Vtemplate-parame
ter-BAF_at_Vtemplate-parameter-BAG
@Vtemplate-parameter-BAH_at_Vtemplate-parameter-BAI@Vtemplate-parameter-BAJ
@Vtemplate-parameter-BAK@@ZV?$list9_at_V?$value@$DBAB@@_bi_at_boost@@V123_at_V123
@V123_at_V123@V123_at_V123@V123_at_V123@@_bi_at_boost@@ __cdecl boost::bind(R
(__cdecl *)(B1,B2,B3,B4,B5,B6,B7,B8,B9)
,A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(112) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@Vtemplate-parameter-BAE_at_Vtemplate-parame
ter-BAF_at_Vtemplate-parameter-BAG
@Vtemplate-parameter-BAH_at_Vtemplate-parameter-BAI@Vtemplate-parameter-BAJ
@@ZV?$list8_at_V?$value@$DBAB@@_bi_at_boost@@V123_at_V123@V123_at_V123@V123_at_V123@V12
3@@_bi_at_boost@@ __cdecl boost::bind(R (__cdecl
*)(B1,B2,B3,B4,B5,B6,B7,B8),A1,A2,A3,A4,A5,A6,A7,A8)' : exp
ects 9 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(101) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@Vtemplate-parameter-BAE_at_Vtemplate-parame
ter-BAF_at_Vtemplate-parameter-BAG
@Vtemplate-parameter-BAH_at_Vtemplate-parameter-BAI@@ZV?$list7_at_V?$value@$DB
AB@@_bi_at_boost@@V123_at_V123@V123_at_V123@V123_at_V123@@_bi_at_boost@@ __cdecl
boost::bind(R (__cdecl *)(B1,B2,B3,B4,B5,B6,B7),A1,A2,A3,A4,A5,A6,A7)' :
expects 8 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(90) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@Vtemplate-parameter-BAE_at_Vtemplate-parame
ter-BAF_at_Vtemplate-parameter-BAG
@Vtemplate-parameter-BAH@@ZV?$list6_at_V?$value@$DBAB@@_bi_at_boost@@V123_at_V123
@V123_at_V123@V123@@_bi_at_boost@@ __cdecl boost::bind(R (__cdecl
*)(B1,B2,B3,B4,B5,B6),A1,A2,A3,A4,A5,A6)' : expects 7 arguments - 2
provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(79) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@Vtemplate-parameter-BAE_at_Vtemplate-parame
ter-BAF_at_Vtemplate-parameter-BAG
@@ZV?$list5_at_V?$value@$DBAB@@_bi_at_boost@@V123_at_V123@V123_at_V123@@_bi_at_boost@@
__cdecl boost::bind(R (__cdecl *)(B1,B2,B3,B4,B5),A1,A2,A3,A4,A5)' :
expects 6 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(68) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@Vtemplate-parameter-BAE_at_Vtemplate-parame
ter-BAF@@ZV?$list4_at_V?$value@$DB
AB@@_bi_at_boost@@V123_at_V123@V123@@_bi_at_boost@@ __cdecl boost::bind(R
(__cdecl *)(B1,B2,B3,B4),A1,A2,A3,A4)' : expects 5 arguments - 2
provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(57) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@@ZV?$list3_at_V?$va
lue@$DBAB@@_bi_at_boost@@V123_at_V123
@@_bi_at_boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3),A1,A2,A3)' :
expects 4 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(46) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC_at_Vtemplate-parameter-BAD@@ZV?$list2_at_V?$value@$DBAB@@_bi_at_boost@@V1
23@@_bi_at_boost@@ __cdecl boost::
bind(R (__cdecl *)(B1,B2),A1,A2)' : expects 3 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(35) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784:
'class
boost::_bi::?$bind_t@$DBAB_at_P6A?AVtemplate-parameter-BAB_at_Vtemplate-parame
ter-BAC@@ZV?$list1_at_V?$value@$DBAB@@_bi_at_boost@@@_bi_at_boost@@ __cdecl
boost::bind(R (__cdecl *)(B1),A1)' :
 could not deduce template argument for 'overloaded function type' from
'overloaded function type'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,class boost::_bi::XZVlist0::R (__cdecl*)( ??
) throw( ?? )> __cdecl boost::bind(R (__cdecl *)(void))' : expects 1
arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(17) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list9<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(struct boost::type<R>,F,A1,A2,A3,A4,A5,A6,A7,A8,A9)' :
expects 11 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1380) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list8<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(struct
boost::type<R>,F,A1,A2,A3,A4,A5,A6,A7,A8)' : expects 10 arguments - 2
provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1372) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list7<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(struct boost::type<R>,F,A1,A2,A3,A4,A5,A6,A7)' : expects 9
arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1364) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list6<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R> > > __cdecl boost::bind(struct
boost::type<R>,F,A1,A2,A3,A4,A5,A6)' : expects 8 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1356) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list5<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R> > > __cdecl boost::bind(struct boost::type<R>,F,A1,A2,A3,A4,A5)'
: expects 7 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1348) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list4<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl boost::b
ind(struct boost::type<R>,F,A1,A2,A3,A4)' : expects 6 arguments - 2
provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1340) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list3<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(struct boost::type<R>,F
,A1,A2,A3)' : expects 5 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1332) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list2<class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(struct boost::type<R>,F,A1,A2)' : expects 4 argume
nts - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1324) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list1<class
boost::_bi::value<R> > > __cdecl boost::bind(struct
boost::type<R>,F,A1)' : expects 3 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1316) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784:
'class boost::_bi::bind_t<R,F,class boost::_bi::list0> __cdecl
boost::bind(struct boost::type<R>,F)' : could not deduce template
argument for 'overloaded function type' from 'overloa
ded function type'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list9<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(F,A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 2
provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1298) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list8<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(F,A1,A2,A3,A4,A5,A6,A7,A8)'
: expects 9 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1290) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list7<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(F,A1,A2,A3,A4,A5,A6,A7)' : expects 8 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1282) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list6<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(F,A1,A2,A3,A4,A5,A6)' : expects 7 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1274) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list5<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class boost::_bi::va
lue<R> > > __cdecl boost::bind(F,A1,A2,A3,A4,A5)' : expects 6 arguments
- 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1266) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list4<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl boost::b
ind(F,A1,A2,A3,A4)' : expects 5 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1258) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list3<class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R> > > __cdecl boost::bind(F,A1,A2,A3)' : expects
4 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1250) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list2<class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(F,A1,A2)' : expects 3 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1242) : see
declaration of 'bind'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2783:
'class boost::_bi::bind_t<R,F,class boost::_bi::list1<class
boost::_bi::value<R> > > __cdecl boost::bind(F,A1)' : could not deduce
template argument for 'R'
C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780:
'class boost::_bi::bind_t<R,F,class boost::_bi::list0> __cdecl
boost::bind(F)' : expects 1 arguments - 2 provided
        c:\vendor_libs\VC60\include\boost/bind.hpp(1226) : see
declaration of 'bind'
Error executing cl.exe.

DailyReportTree.obj - 49 error(s), 0 warning(s)

Kind regards

Pshemek

 

Przemyslaw Sliwa
Global Foreign Exchange

FX Risk Engine Development
Merrill Lynch
( +44 (0)20 7995 4182
) +44 (0)79 6325 2319
* Email: przemyslaw_sliwa_at_[hidden]

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Christian
Henning
Sent: 30 January 2006 19:27
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Spawning a thread on a member function

Of course, you could start off threads everywhere. The problem might
be synchronization and knowing if a thread is terminated or not. The
function join() gives you one way to wait for a thread to terminate. I
usually do that in a destructor.

If you have a problem you work on, I would suggest, that you name it.
So, I can help you more specifically.

Christian

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------


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