bug #872: Avoid deprecated binder1st/binder2nd usage by providing custom functors for comparison operators

This commit is contained in:
Christoph Hertzberg
2015-05-07 17:28:40 +02:00
parent 4a936974a5
commit 494fa991c3
5 changed files with 102 additions and 25 deletions

View File

@@ -492,6 +492,16 @@ struct IndexBased {};
// evaluator based on iterators to access coefficients.
struct IteratorBased {};
/** \internal
* Constants for comparison functors
*/
enum ComparisonName {
cmp_EQ = 0,
cmp_LT = 1,
cmp_LE = 2,
cmp_UNORD = 3,
cmp_NEQ = 4
};
} // end namespace internal
} // end namespace Eigen