examples/quickstart/simple_future_continuation.cpp
int cont2(hpx::future<int> f)
{
    std::cout << "Status code (main thread): " << f.get() << std::endl;
    return 1;
}
// this continuation function will be executed by the UI (main) thread, which is
// not an HPX thread
this continuation function will be executed by the UI (main) thread, which is
not an HPX thread
this continuation function will be executed by the UI ( main ) thread which is not an HPX thread
int cont2(hpx::future<int> f)
{
    std::cout << "Status code (main thread): " << f.get() << std::endl;
    return 1;
}
int cont2 ( hpx :: future < int > f ) { std :: cout << " " << f . get ( ) << std :: endl ; return 1 ; }
this continuation function will be executed by the UI (main) thread, which is
not an HPX thread
this continuation function will be executed by the UI ( main ) thread which is not an HPX thread