forked from OctaForge/libostd
add not1/not2
parent
2e750f6874
commit
799c9fed94
|
@ -79,6 +79,14 @@ namespace octa {
|
||||||
private:
|
private:
|
||||||
T p_fn;
|
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
|
#endif
|
Loading…
Reference in New Issue