Source release 19.1.0
This commit is contained in:
@@ -79,3 +79,20 @@ void PrintTo(const SystemState& state, std::ostream* os) {
|
||||
}
|
||||
} // namespace okp
|
||||
} // namespace wvcdm
|
||||
|
||||
namespace std {
|
||||
void PrintTo(future_status status, ostream* os) {
|
||||
switch (status) {
|
||||
case future_status::ready:
|
||||
*os << "future_status::ready";
|
||||
return;
|
||||
case future_status::timeout:
|
||||
*os << "future_status::timeout";
|
||||
return;
|
||||
case future_status::deferred:
|
||||
*os << "future_status::deferred";
|
||||
return;
|
||||
}
|
||||
*os << "<unknown(" << static_cast<int>(status) << ")>";
|
||||
}
|
||||
} // namespace std
|
||||
|
||||
Reference in New Issue
Block a user