Proper handling of nullpointer arguments in functors
The discussion from !3665 (merged) should be addressed: essentially this means that (on the C++ side) functors should return an optional if they accept a pointer as argument, such that they can properly deal with nullptr.
@graven, @sesen, @gunther, @ldufour, @amathad