summaryrefslogtreecommitdiff
path: root/boost/process/detail/posix/use_vfork.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/process/detail/posix/use_vfork.hpp')
-rw-r--r--boost/process/detail/posix/use_vfork.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/boost/process/detail/posix/use_vfork.hpp b/boost/process/detail/posix/use_vfork.hpp
new file mode 100644
index 0000000000..98f74b24ff
--- /dev/null
+++ b/boost/process/detail/posix/use_vfork.hpp
@@ -0,0 +1,33 @@
+/*
+ * use_vfork.hpp
+ *
+ * Created on: 17.06.2016
+ * Author: klemens
+ */
+
+#ifndef BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
+#define BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
+
+
+#include <boost/process/detail/posix/handler.hpp>
+#include <boost/fusion/sequence/intrinsic/has_key.hpp>
+#include <boost/fusion/container/set/convert.hpp>
+
+namespace boost { namespace process { namespace detail { namespace posix {
+
+struct use_vfork_ : handler_base_ext
+{
+ constexpr use_vfork_(){};
+};
+
+template<typename Sequence>
+struct shall_use_vfork
+{
+ typedef typename boost::fusion::result_of::as_set<Sequence>::type set_type;
+ typedef typename boost::fusion::result_of::has_key<set_type, const use_vfork_&>::type type;
+};
+
+
+}}}}
+
+#endif /* BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_ */