-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Hi,
first of all many thanks for your very cool signal/slot implementation.
Unfortunately I'm having the following compilation error using the cl compiler (VS):
f:\dev\test_client\externals\signal_slot\Delegate.h(513) : error C2039: 'funcaddress' : is not a member of 'Gallant::detail::SimplifyMemFunc<16>::Convert::<unnamed-type-u>::<unnamed-type-s>'
f:\dev\test_client\externals\signal_slot\Delegate.h(503) : see declaration of 'Gallant::detail::SimplifyMemFunc<16>::Convert::<unnamed-type-u>::<unnamed-type-s>'
f:\dev\test_client\externals\signal_slot\Delegate.h(702) : see reference to function template instantiation 'Gallant::detail::GenericClass *Gallant::detail::SimplifyMemFunc<16>::Convert<X,XMemFunc,Gallant::DelegateMemento::GenericMemFuncType>(X *,XFuncType,GenericMemFuncType &)' being compiled
with
[
X=StandaloneConfigDialog
, XMemFunc=void (__thiscall StandaloneConfigDialog::* )(void)
, XFuncType=void (__thiscall StandaloneConfigDialog::* )(void)
, GenericMemFuncType=Gallant::DelegateMemento::GenericMemFuncType
]
I've already fixed it locally for my project, so I can send you a patch for this if required.
Basically in my project I just adapted the following line (513) in Delegate.h
bound_func = u.s.m_funcaddress;
This one was causing the error, since the "funcaddress" is not a member of struct 's'.
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels