Defines the xtd::startup object that can be used in the main method to safely call the application's main entry point.
Static Public Member Functions | |
| template<typename main_function_t > | |
| static int | safe_run (main_function_t main_function) |
| Safely call the specified application's main entry point. More... | |
| template<typename main_function_t > | |
| static int | safe_run (main_function_t main_function, int argc, char *argv[]) |
| Safely call the specified application's main entry point, argc and argv. More... | |
|
inlinestatic |
Safely call the specified application's main entry point.
| main_function | The main method to safety call. |
| main_class | The class that contains the static main method. |
|
inlinestatic |
Safely call the specified application's main entry point, argc and argv.
| main_function | The main method to safety call. |
| argc | the main argc param. |
| argv | the main argv param. |
| main_class | The class that contains the static main method. |