mirror of https://github.com/CGAL/cgal
Add constructors to Apply_approx_sqrt
This commit is contained in:
parent
60f95748a4
commit
33bc47d4b7
|
|
@ -114,6 +114,9 @@ namespace internal{
|
||||||
template< class Functor >
|
template< class Functor >
|
||||||
struct Apply_approx_sqrt: public Functor
|
struct Apply_approx_sqrt: public Functor
|
||||||
{
|
{
|
||||||
|
Apply_approx_sqrt() : Functor() { }
|
||||||
|
Apply_approx_sqrt(const Functor& f) : Functor(f) { }
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
typename cpp11::result_of<Functor(T)>::type operator()(const T& t) const
|
typename cpp11::result_of<Functor(T)>::type operator()(const T& t) const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue