how about this?
```
    template<class T_FUNCTOR, class T_VALUE>
    bool solve(T_FUNCTOR &functor, const T_VALUE &x0, T_VALUE &x_new);
```