Commits

Yuriy Syrovetskiy committed 36ebe0f

[+] docs on ThreadPool::map()

  • Participants
  • Parent commits 067103d

Comments (0)

Files changed (1)

File ThreadPool.h

         setMaxThreadCount(maxThreadCount);
     }
 
+    /// \param sourceIterator Java-style iterator of ArgumentType values
+    /// \param f function ArgumentType -> ResultType
+    /// \returns Java-style iterator of ResultType values
     template <typename SourceIterator, typename ArgumentType, typename ResultType>
     FutureIterator<ResultType> map(SourceIterator sourceIterator, ResultType (f)(ArgumentType))
     {