Le 10/12/2020 à 21:53, Yuriy Skalko a écrit :
The compact signal library looks great, but I do not know how
polished, portable and widely used it is.
I'm trying to adapt the nod library (https://github.com/fr00b0/nod)
instead of boost::signals2. The only issue left is concerning
tracker_/trackable_ members of Trackable class used in call to
track_foreign. As I understand it is some hack to have lifetime of slots
be the same as of containing class
(PreviewLoader::Impl/Converter::Impl). Is it right?
I have been meaning to ask: how did you find this library? Is it
somewhat known, or did you just google for it?
What I am wondering is whether this library has many users. It has not
been updated for 2 years.
THere is some maybe interesting reading here:
https://medium.com/@julienjorge/testing-c-signal-slot-libraries-1994eb120826
(I have not read it yet).
It is also a big win in the output size -- LyX executable is 700KB
smaller after applying the attached patch.
That's good.
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel