add not1/not2

master
Daniel Kolesa 2015-04-18 18:36:06 +01:00
parent 2e750f6874
commit 799c9fed94
1 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,14 @@ namespace octa {
private:
T p_fn;
};
template<typename T> UnaryNegate<T> not1(const T &fn) {
return UnaryNegate<T>(fn);
}
template<typename T> BinaryNegate<T> not2(const T &fn) {
return BinaryNegate<T>(fn);
}
}
#endif