51 ms·
GP's snippet was in Rust (not that I know if it's valid Rust code). However, in C++ std::thread is a class and it does not have a static member function sleep_
by eMSF 5y ago
GP's snippet was in Rust (not that I know if it's valid Rust code).
However, in C++ std::thread is a class and it does not have a static member function sleep_until. (However, std::this_thread, which is a namespace, does have such a function).