Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
086d5127
Commit
086d5127
authored
Feb 16, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation of `message`
parent
3935def8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
211 additions
and
129 deletions
+211
-129
libcaf_core/caf/message.hpp
libcaf_core/caf/message.hpp
+187
-129
libcaf_core/src/message.cpp
libcaf_core/src/message.cpp
+24
-0
No files found.
libcaf_core/caf/message.hpp
View file @
086d5127
This diff is collapsed.
Click to expand it.
libcaf_core/src/message.cpp
View file @
086d5127
...
...
@@ -264,4 +264,28 @@ message::cli_res message::filter_cli(std::vector<cli_arg> cliargs) const {
return
{
res
,
std
::
move
(
opts
),
std
::
move
(
helptext
)};
}
message
::
cli_arg
::
cli_arg
(
std
::
string
nstr
,
std
::
string
tstr
)
:
name
(
std
::
move
(
nstr
)),
text
(
std
::
move
(
tstr
))
{
// nop
}
message
::
cli_arg
::
cli_arg
(
std
::
string
nstr
,
std
::
string
tstr
,
std
::
string
&
arg
)
:
name
(
std
::
move
(
nstr
)),
text
(
std
::
move
(
tstr
))
{
fun
=
[
&
arg
](
const
std
::
string
&
str
)
->
bool
{
arg
=
str
;
return
true
;
};
}
message
::
cli_arg
::
cli_arg
(
std
::
string
nstr
,
std
::
string
tstr
,
std
::
vector
<
std
::
string
>&
arg
)
:
name
(
std
::
move
(
nstr
)),
text
(
std
::
move
(
tstr
))
{
fun
=
[
&
arg
](
const
std
::
string
&
str
)
->
bool
{
arg
.
push_back
(
str
);
return
true
;
};
}
}
// namespace caf
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