tmp/tmpykktbcm8/{from.md → to.md}
RENAMED
|
@@ -1,19 +1,17 @@
|
|
| 1 |
### Namespace `this_thread` <a id="thread.thread.this">[[thread.thread.this]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
namespace std {
|
| 5 |
-
namespace this_thread {
|
| 6 |
thread::id get_id() noexcept;
|
| 7 |
|
| 8 |
void yield() noexcept;
|
| 9 |
template <class Clock, class Duration>
|
| 10 |
void sleep_until(const chrono::time_point<Clock, Duration>& abs_time);
|
| 11 |
template <class Rep, class Period>
|
| 12 |
void sleep_for(const chrono::duration<Rep, Period>& rel_time);
|
| 13 |
}
|
| 14 |
-
}
|
| 15 |
```
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
thread::id this_thread::get_id() noexcept;
|
| 19 |
```
|
|
|
|
| 1 |
### Namespace `this_thread` <a id="thread.thread.this">[[thread.thread.this]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
namespace std::this_thread {
|
|
|
|
| 5 |
thread::id get_id() noexcept;
|
| 6 |
|
| 7 |
void yield() noexcept;
|
| 8 |
template <class Clock, class Duration>
|
| 9 |
void sleep_until(const chrono::time_point<Clock, Duration>& abs_time);
|
| 10 |
template <class Rep, class Period>
|
| 11 |
void sleep_for(const chrono::duration<Rep, Period>& rel_time);
|
| 12 |
}
|
|
|
|
| 13 |
```
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
thread::id this_thread::get_id() noexcept;
|
| 17 |
```
|