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
b453aabb
Commit
b453aabb
authored
Feb 13, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed requirement
parent
0cf245c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
cppa/detail/decorated_tuple.hpp
cppa/detail/decorated_tuple.hpp
+1
-1
cppa/util/fixed_vector.hpp
cppa/util/fixed_vector.hpp
+5
-0
No files found.
cppa/detail/decorated_tuple.hpp
View file @
b453aabb
...
@@ -68,7 +68,7 @@ class decorated_tuple : public abstract_tuple
...
@@ -68,7 +68,7 @@ class decorated_tuple : public abstract_tuple
:
m_decorated
(
d
),
m_mappings
(
v
)
:
m_decorated
(
d
),
m_mappings
(
v
)
{
{
CPPA_REQUIRE
(
v
.
size
()
==
sizeof
...(
ElementTypes
));
CPPA_REQUIRE
(
v
.
size
()
==
sizeof
...(
ElementTypes
));
CPPA_REQUIRE
(
std
::
max_element
(
v
.
begin
(),
v
.
end
(
))
<
m_decorated
->
size
());
CPPA_REQUIRE
(
v
.
empty
()
||
*
(
std
::
max_element
(
v
.
begin
(),
v
.
end
()
))
<
m_decorated
->
size
());
}
}
virtual
void
*
mutable_at
(
size_t
pos
)
virtual
void
*
mutable_at
(
size_t
pos
)
...
...
cppa/util/fixed_vector.hpp
View file @
b453aabb
...
@@ -75,6 +75,11 @@ class fixed_vector
...
@@ -75,6 +75,11 @@ class fixed_vector
m_size
=
0
;
m_size
=
0
;
}
}
inline
bool
empty
()
const
{
return
m_size
==
0
;
}
inline
bool
full
()
const
inline
bool
full
()
const
{
{
return
m_size
==
MaxSize
;
return
m_size
==
MaxSize
;
...
...
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