File indexing completed on 2025-01-18 09:50:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
0009 #define BOOST_PROCESS_DETAIL_POSIX_USE_VFORK_HPP_
0010
0011
0012 #include <boost/process/detail/posix/handler.hpp>
0013 #include <boost/fusion/sequence/intrinsic/has_key.hpp>
0014 #include <boost/fusion/container/set/convert.hpp>
0015
0016 namespace boost { namespace process { namespace detail { namespace posix {
0017
0018 struct use_vfork_ : handler_base_ext
0019 {
0020 constexpr use_vfork_(){};
0021 };
0022
0023 template<typename Sequence>
0024 struct shall_use_vfork
0025 {
0026 typedef typename boost::fusion::result_of::as_set<Sequence>::type set_type;
0027 typedef typename boost::fusion::result_of::has_key<set_type, const use_vfork_&>::type type;
0028 };
0029
0030
0031 }}}}
0032
0033 #endif