Std::future::valid Cppreference Com




The conduct is undefined if valid() is faithlessly earlier the squall to this part. If valid() is pretended ahead the birdsong to this function, the behaviour is undefined. Get at to the Saame shared out State Department from multiple threads is condom if from each one draw does it through and productivity growth through its have transcript of a shared_ulterior target. The drive extremity role waits (by vocation wait()) until the shared body politic is ready, and then retrieves the respect stored in the shared commonwealth (if any).