src/basics.h

changeset 339
4787d05e9c89
parent 333
07e65a4c6611
child 354
91053052bb28
--- a/src/basics.h	Mon Jul 04 19:53:13 2022 +0300
+++ b/src/basics.h	Sat Jul 23 01:38:06 2022 +0300
@@ -40,6 +40,7 @@
 #include <glm/glm.hpp>
 #include "src/geometry.h"
 #include "src/typeconversions.h"
+#define SIG(A, B) (A), &std::decay_t<decltype(*(A))>::B
 
 template<typename T>
 using opt = std::optional<T>;

mercurial