Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
23c66e3b
Unverified
Commit
23c66e3b
authored
5 years ago
by
Jiashun Zhu
Committed by
GitHub
5 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1053 from lingbin/fix_bvar_cpp_doc
fix display problem in docs/cn/bvar_c++.md
parents
f8c188a7
c9290f37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bvar_c++.md
docs/cn/bvar_c++.md
+1
-1
No files found.
docs/cn/bvar_c++.md
View file @
23c66e3b
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment