slot|signal: static_assert not using R,T... syntax
commit0e79f1ab17590da8b1eb93fddf941e3a9e813d31
authorDaniel Boles <[email protected]>
Thu, 23 Nov 2023 22:14:35 +0000 (23 22:14 +0000)
committerKjell Ahlstedt <[email protected]>
Sat, 16 Dec 2023 09:23:48 +0000 (16 10:23 +0100)
tree3879ea20623361e842ad3d07cff4681d7b09ed1d
parente62bf47f1743a85c980519eeff91ab76a3725c70
slot|signal: static_assert not using R,T... syntax

This can lead to clearer errors by explaining the user's error, not just
saying they used an incomplete type (why is it incomplete?). I don't use
only static_assert(false) because that's ill-formed before C++23, AFAIK,
& even if it's OK in some cases I don't grok which... so hope this works

https://github.com/libsigcplusplus/libsigcplusplus/issues/86
sigc++/functors/slot.h
sigc++/signal.h