boost::ui::entry — UI application entry.
// In header: <boost/ui/application.hpp> int entry(int(*)(int, char *[]) ui_main, int argc, char * argv);
Initializes and uninitializer UI library, catches exceptions
Parameters:
argc
count of program arguments
argv
array of program arguments
ui_main
main UI function