cpp/thread/shared future/valid