diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-06 08:16:41 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-06 08:16:41 +0000 |
commit | 1331c762c05643d7a4fcd4abeb951ed814cea47d (patch) | |
tree | 5d15e3c9b47517f86b472a3d93c025b0ff1a84b6 /src/variable.h | |
parent | 9d507ea353a92ca51e7a9d7ae5c82d3aa35c04d1 (diff) | |
download | build-1331c762c05643d7a4fcd4abeb951ed814cea47d.tar.gz build-1331c762c05643d7a4fcd4abeb951ed814cea47d.tar.bz2 build-1331c762c05643d7a4fcd4abeb951ed814cea47d.tar.xz build-1331c762c05643d7a4fcd4abeb951ed814cea47d.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/variable.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 ); | |||
123 | Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v ); | 123 | Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v ); |
124 | Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v ); | 124 | Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v ); |
125 | 125 | ||
126 | VarList operator-( const VarList &rBase, const VarList &rSub ); | ||
127 | |||
126 | #endif | 128 | #endif |