[C++-sig] Failure to deduce template argument types

Niall Douglas s_sourceforge at nedprod.com
Sun Aug 3 17:45:11 CEST 2003


What's going on here? (MSVC7.1):

d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector17<RT,ClassT&,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
,T12,T13,T14> boost::python::detail::get_signature(RT (__thiscall 
ClassT::* )(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14) 
volatile)' : could not deduce template argument for 'T1 (__thiscall 
T2::* )(T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17) 
volatile' from 'FX::FXuint (__cdecl *)(FX::FXWindow 
*,FX::FXuint,const char *,const char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(111) : 
see declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector17<RT,ClassT&,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
,T12,T13,T14> boost::python::detail::get_signature(RT (__thiscall 
ClassT::* )(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14) 
const)' : could not deduce template argument for 'T1 (__thiscall 
T2::* )(T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17) const' 
from 'FX::FXuint (__cdecl *)(FX::FXWindow *,FX::FXuint,const char 
*,const char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(111) : 
see declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector17<RT,ClassT&,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
,T12,T13,T14> boost::python::detail::get_signature(RT (__thiscall 
ClassT::* )(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14))' : 
could not deduce template argument for 'T1 (__thiscall T2::* 
)(T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17)' from 
'FX::FXuint (__cdecl *)(FX::FXWindow *,FX::FXuint,const char *,const 
char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(111) : 
see declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector16<RT,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13
,T14> boost::python::detail::get_signature(RT (__cdecl 
*)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14))' : could not 
deduce template argument for 'T1 (__cdecl 
*)(T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16)' from 
'FX::FXuint (__cdecl *)(FX::FXWindow *,FX::FXuint,const char *,const 
char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(89) : see 
declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector16<RT,ClassT&,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
,T12,T13> boost::python::detail::get_signature(RT (__thiscall 
ClassT::* )(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13) volatile 
const)' : could not deduce template argument for 'T1 (__thiscall 
T2::* )(T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16) volatile 
const' from 'FX::FXuint (__cdecl *)(FX::FXWindow *,FX::FXuint,const 
char *,const char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(111) : 
see declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector16<RT,ClassT&,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
,T12,T13> boost::python::detail::get_signature(RT (__thiscall 
ClassT::* )(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13) volatile)' 
: could not deduce template argument for 'T1 (__thiscall T2::* 
)(T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16) volatile' from 
'FX::FXuint (__cdecl *)(FX::FXWindow *,FX::FXuint,const char *,const 
char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(111) : 
see declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector16<RT,ClassT&,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
,T12,T13> boost::python::detail::get_signature(RT (__thiscall 
ClassT::* )(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13) const)' : 
could not deduce template argument for 'T1 (__thiscall T2::* 
)(T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16) const' from 
'FX::FXuint (__cdecl *)(FX::FXWindow *,FX::FXuint,const char *,const 
char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(111) : 
see declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector16<RT,ClassT&,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
,T12,T13> boost::python::detail::get_signature(RT (__thiscall 
ClassT::* )(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13))' : could 
not deduce template argument for 'T1 (__thiscall T2::* 
)(T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16)' from 'FX::FXuint 
(__cdecl *)(FX::FXWindow *,FX::FXuint,const char *,const char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(111) : 
see declaration of 'boost::python::detail::get_signature'
d:\Tornado\TClient\boost\boost\python\make_function.hpp(95) : error 
C2784: 
'boost::mpl::vector15<RT,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13
> 
boost::python::detail::get_signature(RT (__cdecl 
*)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13))' : could not 
deduce template 
argument for 'T1 (__cdecl 
*)(T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15)' 
from 'FX::FXuint (__cdecl *)(FX::FXWindow *,FX::FXuint,const char 
*,const char *,...)'
        d:\Tornado\TClient\boost\boost\python\signature.hpp(89) : see 
declaration of 'boost::python::detail::get_signature'

<... keeps going and going removing the last Tx (eg; vector15, 
vector14, vector13 etc) from each error ...>

Cheers,
Niall





More information about the Cplusplus-sig mailing list