hpx/hpx_init_impl.hpp
inline int
    init(boost::program_options::options_description const& desc_cmdline,
        int argc, char** argv, hpx::runtime_mode mode)
    {
        return init(static_cast<hpx_main_type>(::hpx_main), desc_cmdline,
            argc, argv, startup_function_type(), shutdown_function_type(),
            mode);
    }
/// \brief Main entry point for launching the HPX runtime system.
///
/// This is a simplified main entry point, which can be used to set up the
/// runtime for an HPX application (the runtime system will be set up in
/// console mode or worker mode depending on the command line settings).
///
/// In console mode it will execute the user supplied function `hpx_main`,
/// in worker mode it will execute an empty `hpx_main`.
\brief Main entry point for launching the HPX runtime system.
This is a simplified main entry point, which can be used to set up the
runtime for an HPX application (the runtime system will be set up in
console mode or worker mode depending on the command line settings).

In console mode it will execute the user supplied function `hpx_main`,
in worker mode it will execute an empty `hpx_main`.
\ brief Main entry point for launching the HPX runtime system . This is a simplified main entry point which can be used to set up the runtime for an HPX application ( the runtime system will be set up in console mode or worker mode depending on the command line settings ) . In console mode it will execute the user supplied function ` hpx_main ` in worker mode it will execute an empty ` hpx_main ` .
inline int
    init(boost::program_options::options_description const& desc_cmdline,
        int argc, char** argv, hpx::runtime_mode mode)
    {
        return init(static_cast<hpx_main_type>(::hpx_main), desc_cmdline,
            argc, argv, startup_function_type(), shutdown_function_type(),
            mode);
    }
inline int init ( boost :: program_options :: options_description const & desc_cmdline , int argc , char * * argv , hpx :: runtime_mode mode ) { return init ( static_cast < hpx_main_type > ( :: hpx_main ) , desc_cmdline , argc , argv , startup_function_type ( ) , shutdown_function_type ( ) , mode ) ; }
\brief Main entry point for launching the HPX runtime system.
\ brief Main entry point for launching the HPX runtime system .