hpx/hpx_init_impl.hpp
inline int
    init(std::string const& app_name, int argc, char** argv,
        hpx::runtime_mode mode)
    {
        return init(static_cast<hpx_main_type>(::hpx_main), app_name,
            argc, argv, startup_function_type(), shutdown_function_type(),
            mode);
    }
/// \fn int init(std::string const& app_name, int argc = 0, char** argv = nullptr)
///
/// \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).
\fn int init(std::string const& app_name, int argc = 0, char** argv = nullptr)
\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).
\ fn int init ( std :: string const& app_name int argc = 0 char ** argv = nullptr ) \ 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 ) .
inline int
    init(std::string const& app_name, int argc, char** argv,
        hpx::runtime_mode mode)
    {
        return init(static_cast<hpx_main_type>(::hpx_main), app_name,
            argc, argv, startup_function_type(), shutdown_function_type(),
            mode);
    }
inline int init ( std :: string const & app_name , int argc , char * * argv , hpx :: runtime_mode mode ) { return init ( static_cast < hpx_main_type > ( :: hpx_main ) , app_name , argc , argv , startup_function_type ( ) , shutdown_function_type ( ) , mode ) ; }
\fn int init(std::string const& app_name, int argc = 0, char** argv = nullptr)
\brief Main entry point for launching the HPX runtime system.
\ fn int init ( std :: string const& app_name int argc = 0 char ** argv = nullptr ) \ brief Main entry point for launching the HPX runtime system .