get rid of macros
It seems macros are used to overcome some difficult-to-write code in Kea, but they also introduce problems like the one in #1719 (closed). After experimenting a bit in the same Gitlab issue, I think C++11 is perfectly capable of writing complex logic without them.