Changed functor base names and added to version
This commit is contained in:
parent
1d0794c46a
commit
f7c98d5b31
23 changed files with 64 additions and 48 deletions
|
|
@ -29,8 +29,11 @@
|
|||
#include <eoFunctor.h>
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
Applies a unary function to a vector of things.
|
||||
*/
|
||||
template <class EOT>
|
||||
void apply(eoUnaryFunctor<void, EOT&>& _proc, std::vector<EOT>& _pop)
|
||||
void apply(eoUF<EOT&, void>& _proc, std::vector<EOT>& _pop)
|
||||
{
|
||||
for (unsigned i = 0; i < _pop.size(); ++i)
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue