From 1331c762c05643d7a4fcd4abeb951ed814cea47d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 6 Nov 2012 08:16:41 +0000 Subject: Slightly optimized list operations, and added list subtraction. If you subtract any item from a list it will remove one matching item from the source list for each item in the subtracted list. --- src/variable.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/variable.h') diff --git a/src/variable.h b/src/variable.h index 241393e..890552a 100644 --- a/src/variable.h +++ b/src/variable.h @@ -123,4 +123,6 @@ Bu::Formatter &operator<<( Bu::Formatter &f, const Variable &v ); Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v ); Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v ); +VarList operator-( const VarList &rBase, const VarList &rSub ); + #endif -- cgit v1.2.3