Add constructors to Apply_approx_sqrt

This commit is contained in:
Mael Rouxel-Labbé 2017-05-03 15:42:56 +02:00
parent 60f95748a4
commit 33bc47d4b7
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,9 @@ namespace internal{
template< class Functor >
struct Apply_approx_sqrt: public Functor
{
Apply_approx_sqrt() : Functor() { }
Apply_approx_sqrt(const Functor& f) : Functor(f) { }
template <class T>
typename cpp11::result_of<Functor(T)>::type operator()(const T& t) const
{