pbhogan / signals Goto Github PK
View Code? Open in Web Editor NEWA lightweight signals and slots implementation.
A lightweight signals and slots implementation.
The file Signals.h defines it's header guard with:
#ifndef _SIGNAL_H_
#define _SIGNAL_H_
This name clashes on android NDK, making the header to not be included and thus making the lib unusable on it.
I could fix it myself and send a patch, if needed :)
Thanks,
Your README and the article itself both specify the Delegate.h code as public domain, but the file itself claims it is under the Code Project Open License (CPOL) which is anything but public domain...
Would it be possible to update the license statement (if need be, clarifying with the authors that CPOL is not the licensing conditions for Delegate.h)? If the CPOL is in the mix, code concerned about GPL compatibility is basically dead in the water as far as using Signals... :-(
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.