# HG changeset patch # User Teemu Piippo # Date 1658529486 -10800 # Node ID 4787d05e9c890cd80b3b944859366ec9dbc8d308 # Parent 07e65a4c6611598c461001fcf92a0e5504ba649f Add SIG macro diff -r 07e65a4c6611 -r 4787d05e9c89 src/basics.h --- 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 #include "src/geometry.h" #include "src/typeconversions.h" +#define SIG(A, B) (A), &std::decay_t::B template using opt = std::optional;