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
3d7a0500
Commit
3d7a0500
authored
Sep 05, 2013
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ostream support for match_hint
parent
555aa1af
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
cppa/match_hint.hpp
cppa/match_hint.hpp
+5
-0
src/string_serialization.cpp
src/string_serialization.cpp
+5
-0
No files found.
cppa/match_hint.hpp
View file @
3d7a0500
...
@@ -31,6 +31,8 @@
...
@@ -31,6 +31,8 @@
#ifndef CPPA_MATCH_HINT_HPP
#ifndef CPPA_MATCH_HINT_HPP
#define CPPA_MATCH_HINT_HPP
#define CPPA_MATCH_HINT_HPP
#include <iosfwd>
namespace
cppa
{
namespace
cppa
{
/**
/**
...
@@ -43,6 +45,9 @@ enum class match_hint {
...
@@ -43,6 +45,9 @@ enum class match_hint {
handle
handle
};
};
// implemented in string_serialization.cpp
std
::
ostream
&
operator
<<
(
std
::
ostream
&
,
match_hint
);
}
// namespace cppa
}
// namespace cppa
#endif // CPPA_MATCH_HINT_HPP
#endif // CPPA_MATCH_HINT_HPP
src/string_serialization.cpp
View file @
3d7a0500
...
@@ -513,4 +513,9 @@ string to_verbose_string(const exception& e) {
...
@@ -513,4 +513,9 @@ string to_verbose_string(const exception& e) {
return
oss
.
str
();
return
oss
.
str
();
}
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
match_hint
mh
)
{
return
out
<<
(
mh
==
match_hint
::
handle
?
"match_hint::handle"
:
"match_hint::skip"
);
}
}
// namespace cppa
}
// namespace cppa
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