General solution for nullary operator()

Signed-off-by: K-ballo <k@fusionfenix.com>