ParentFull threadalpatters·You could always let the compiler work it out for you.template< typename Func > int escape(std::complex<double> c, int iter_max, Func& func)View on HN