diff options
author | regnat <rg@regnat.ovh> | 2021-05-19 14:51:34 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-05-26 18:44:17 +0200 |
commit | a22755721b51949dbf03bc1eb156d6f37dc10bac (patch) | |
tree | 3531730d3a18fa5dff91df82304167d1d2d75caf /src/libutil/comparator.hh | |
parent | ce1a6c6b13070bf4d9d6d4aedb8158333eaef9b3 (diff) |
Recursively substitute the realisations
Make sure that whenever we substitute a realisation, we also substitute
its entire closure
Diffstat (limited to 'src/libutil/comparator.hh')
-rw-r--r-- | src/libutil/comparator.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libutil/comparator.hh b/src/libutil/comparator.hh index 0315dc506..eecd5b819 100644 --- a/src/libutil/comparator.hh +++ b/src/libutil/comparator.hh @@ -25,6 +25,8 @@ } #define GENERATE_EQUAL(args...) GENERATE_ONE_CMP(==, args) #define GENERATE_LEQ(args...) GENERATE_ONE_CMP(<, args) +#define GENERATE_NEQ(args...) GENERATE_ONE_CMP(!=, args) #define GENERATE_CMP(args...) \ GENERATE_EQUAL(args) \ - GENERATE_LEQ(args) + GENERATE_LEQ(args) \ + GENERATE_NEQ(args) |