From 57ce1f25d3e3d9bee15b89a7ce874018c018406a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Tue, 22 Nov 2016 17:35:57 +0100 Subject: [PATCH] added a TODO, regarding the code-dupe going on in priority_task() methods --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 43e3c3b..cc98c24 100644 --- a/main.cpp +++ b/main.cpp @@ -75,6 +75,7 @@ public: template void priority_task(std::packaged_task&& ) = delete; /* adding tasks to the queue */ + // TODO: use template-based policies to deal with priority tasks to avoid code-dupe. template auto add_task(F&& f, Args&&... args) -> std::future;