用于测试队列的简单类
More...
|
| data_t (size_t id=0, std::string name="name") |
| Construct a new data t object. More...
|
|
void | prn () const |
| print More...
|
|
用于测试队列的简单类
含有两个字段和一个打印字段到屏幕的公有函数
Definition at line 24 of file test0.cc.
◆ data_t()
data_t::data_t |
( |
size_t |
id = 0 , |
|
|
std::string |
name = "name" |
|
) |
| |
|
inline |
Construct a new data t object.
- Parameters
-
Definition at line 47 of file test0.cc.
◆ prn()
void data_t::prn |
( |
| ) |
const |
|
inline |
◆ _id
◆ _name
std::string data_t::_name |
std::string
Definition at line 39 of file test0.cc.
The documentation for this struct was generated from the following file: