62 template<
class Function>
63 explicit Thread(Function&& f)
66 OGDF_ALLOCATOR::flushPool();
70 template<
class Function,
class... Args>
71 explicit Thread(Function&& f, Args&&... args)
73 [&](Args&&... tArgs) {
74 f(std::forward<Args>(tArgs)...);
75 OGDF_ALLOCATOR::flushPool();
77 std::forward<Args>(args)...) { }
81 thread::operator=(
std::move((thread &&) other));