4 * Created on: 17.06.2016
8 #ifndef BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
9 #define BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
12 #include <boost/process/detail/posix/handler.hpp>
13 #include <boost/fusion/sequence/intrinsic/has_key.hpp>
14 #include <boost/fusion/container/set/convert.hpp>
16 namespace boost { namespace process { namespace detail { namespace posix {
18 struct use_vfork_ : handler_base_ext
20 constexpr use_vfork_(){};
23 template<typename Sequence>
24 struct shall_use_vfork
26 typedef typename boost::fusion::result_of::as_set<Sequence>::type set_type;
27 typedef typename boost::fusion::result_of::has_key<set_type, const use_vfork_&>::type type;
33 #endif /* BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_ */