Merge branch 'master' into cxx17

This commit is contained in:
Stephen Seo 2021-09-08 14:14:43 +09:00
commit dd83a492c8

View file

@ -947,7 +947,7 @@ namespace EC
\endcode
\return The index of the function, used for deletion with
deleteForMatchingFunction() or filtering with
removeForMatchingFunction() or filtering with
keepSomeMatchingFunctions() or removeSomeMatchingFunctions(),
or calling with callForMatchingFunction().
*/
@ -1342,19 +1342,6 @@ namespace EC
return removeSomeMatchingFunctions<decltype(list)>(list);
}
/*!
\brief Deletes the specified function.
The index of a function is returned from addForMatchingFunction()
so there is no other way to get the index of a function.
\return True if function existed and has been deleted.
*/
bool deleteForMatchingFunction(std::size_t index)
{
return forMatchingFunctions.erase(index) == 1;
}
/*!
\brief Sets the context pointer of a stored function