We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c45aa6 commit 3bb332cCopy full SHA for 3bb332c
1 file changed
libraries/VarAPI/include/var/ContainerObject.hpp
@@ -155,6 +155,10 @@ class ContainerObjectForwardOnly : public api::ExecutionContext {
155
return std::any_of(begin(), end(), function);
156
};
157
158
+ template<typename Function> auto any_of(Function function) const {
159
+ return std::any_of(begin(), end(), function);
160
+ };
161
+
162
Derived &assign_adjacent_difference(const T &initial_value = T()) & {
163
std::adjacent_difference(begin(), end(), initial_value);
164
return self();
0 commit comments