Unverified Commit 23c66e3b authored by Jiashun Zhu's avatar Jiashun Zhu Committed by GitHub

Merge pull request #1053 from lingbin/fix_bvar_cpp_doc

fix display problem in docs/cn/bvar_c++.md
parents f8c188a7 c9290f37
......@@ -168,7 +168,7 @@ bvar::Status<std::string> status1("count2", "hello"); // the name conflicts. if
// program aborts, otherwise a fatal log is printed.
```
为避免重名,bvar的名字应加上前缀,建议为<namespace>_<module>_<name>。为了方便使用,我们提供了**expose_as**函数,接收一个前缀。
为避免重名,bvar的名字应加上前缀,建议为`<namespace>_<module>_<name>`。为了方便使用,我们提供了**expose_as**函数,接收一个前缀。
```c++
// Expose this variable with a prefix.
// Example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment