Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
parallel.hpp File Reference
#include <iterator>
#include <functional>
#include <future>
+ Include dependency graph for parallel.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  libnest2d
 
namespace  libnest2d::__parallel
 

Typedefs

template<class It >
using libnest2d::__parallel::TIteratorValue = typename std::iterator_traits< It >::value_type
 

Functions

template<class Iterator >
void libnest2d::__parallel::enumerate (Iterator from, Iterator to, std::function< void(TIteratorValue< Iterator >, size_t)> fn, std::launch policy=std::launch::deferred|std::launch::async)