/usr/include/boost/process/detail
NameSizeModeActions
posix/-0755rm
traits/-0755rm
windows/-0755rm
async_handler.hpp28700644editdlrm
basic_cmd.hpp80740644editdlrm
child_decl.hpp65890644editdlrm
config.hpp31660644editdlrm
execute_impl.hpp82620644editdlrm
handler.hpp14650644editdlrm
handler_base.hpp14390644editdlrm
on_exit.hpp17090644editdlrm
throw_on_error.hpp11030644editdlrm
traits.hpp6100644editdlrm
used_handles.hpp23780644editdlrm
Edit: /usr/include/boost/process/detail/handler.hpp (1465B)
// Copyright (c) 2016 Klemens D. Morgenstern // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PROCESS_DETAIL_HANDLER_HPP_ #define BOOST_PROCESS_DETAIL_HANDLER_HPP_ #include #if defined(BOOST_POSIX_API) #include #elif defined(BOOST_WINDOWS_API) #include #endif namespace boost { namespace process { namespace detail { //extended handler base. typedef api::handler_base_ext handler; template struct on_setup_ : handler { explicit on_setup_(Handler handler) : handler_(handler) {} template void on_setup(Executor &e) { handler_(e); } private: Handler handler_; }; template struct on_error_ : handler { explicit on_error_(Handler handler) : handler_(handler) {} template void on_error(Executor &e, const std::error_code &ec) { handler_(e, ec); } private: Handler handler_; }; template struct on_success_ : handler { explicit on_success_(Handler handler) : handler_(handler) {} template void on_success(Executor &e) { handler_(e); } private: Handler handler_; }; } }} #endif /* BOOST_PROCESS_DETAIL_HANDLER_HPP_ */