Add compile-time checks w.r.t. is_primary
or existence of get_secondary_event()
#3027
Open
muffgaga wants to merge 2 commits intonest:masterfrom electronicvisions:draft_compiletime_checks
+38-20