1 /*
2  * use_vfork.hpp
3  *
4  *  Created on: 17.06.2016
5  *      Author: klemens
6  */
7 
8 #ifndef BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
9 #define BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
10 
11 
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>
15 
16 namespace boost { namespace process { namespace detail { namespace posix {
17 
18 struct use_vfork_ : handler_base_ext
19 {
use_vfork_boost::process::detail::posix::use_vfork_20     constexpr use_vfork_(){};
21 };
22 
23 template<typename Sequence>
24 struct shall_use_vfork
25 {
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;
28 };
29 
30 
31 }}}}
32 
33 #endif /* BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_ */
34