mirror of https://github.com/CGAL/cgal
Another two Binary_functions...
This commit is contained in:
parent
74ba7047c3
commit
90fa037030
|
|
@ -22,6 +22,7 @@
|
||||||
// - document Substitute
|
// - document Substitute
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
#include <CGAL/basic.h>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
#include <CGAL/Polynomial/fwd.h>
|
#include <CGAL/Polynomial/fwd.h>
|
||||||
#include <CGAL/Polynomial/misc.h>
|
#include <CGAL/Polynomial/misc.h>
|
||||||
|
|
@ -685,7 +686,7 @@ public:
|
||||||
// Get_innermost_coefficient;
|
// Get_innermost_coefficient;
|
||||||
struct Get_innermost_coefficient
|
struct Get_innermost_coefficient
|
||||||
: public
|
: public
|
||||||
Binary_function< Polynomial_d, Exponent_vector, Innermost_coefficient >
|
std::binary_function< Polynomial_d, Exponent_vector, Innermost_coefficient >
|
||||||
{
|
{
|
||||||
|
|
||||||
Innermost_coefficient
|
Innermost_coefficient
|
||||||
|
|
@ -1325,7 +1326,7 @@ public:
|
||||||
// Scale;
|
// Scale;
|
||||||
struct Scale
|
struct Scale
|
||||||
: public
|
: public
|
||||||
Binary_function< Polynomial_d, Innermost_coefficient, Polynomial_d > {
|
std::binary_function< Polynomial_d, Innermost_coefficient, Polynomial_d > {
|
||||||
|
|
||||||
Polynomial_d operator()( Polynomial_d p, const Innermost_coefficient& c,
|
Polynomial_d operator()( Polynomial_d p, const Innermost_coefficient& c,
|
||||||
int i = (PT::d-1) ) {
|
int i = (PT::d-1) ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue