joque
task orchestration library
out.hpp
Go to the documentation of this file.
1 #pragma once
23 
24 #include <filesystem>
25 
26 namespace joque
27 {
28 
30 struct out_tag
31 {
32 };
33 
35 struct out : out_tag
36 {
37  const std::filesystem::path& p;
38 
39  out( const std::filesystem::path& p )
40  : p( p )
41  {
42  }
43 };
44 
45 } // namespace joque
MIT License.
Definition: dag.hpp:27
Baseclass for tagging system.
Definition: out.hpp:31
Tags a filesystem path as an output filename.
Definition: out.hpp:36
const std::filesystem::path & p
Definition: out.hpp:37
out(const std::filesystem::path &p)
Definition: out.hpp:39