Skip to content

Commit

Permalink
格式修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Mq-b committed Apr 9, 2024
1 parent 21fd87c commit 05390cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/卢瑟日经/STL中类的字节大小.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ struct _Thrd_t { // thread identifier for Win32
```cpp
private:
id _M_id;
id _M_id;
```

id 就是 libstdc++ 实现的 [`std::thread::id`](https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/std_thread.h#L92-L120),那么问题继续,这个 `std::thread::id` 类型又是保有了什么数据成员呢?

```cpp
native_handle_type _M_thread;
native_handle_type _M_thread;
```

它只保有了这样一个成员,`native_handle_type` 是定义的别名,它是:
Expand Down

0 comments on commit 05390cf

Please sign in to comment.