Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
This function can manipulate the fields common to requests and responses. If it needs to access the other fields, it can use overloads with partial specialization, or in该函数可以处理请求和响应共有的字段。如果需要访问其他字段,则可以使用基于偏特化的重载,或者在 C++17a `中使用 constexpr` expression:表达式:``` template<bool isRequest, class Fields, class Body> void f(message<isRequest, Fields, Body>& msg) {