Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
e2f7dfcb
Commit
e2f7dfcb
authored
May 08, 2015
by
Tomek Mrugalski
🛰
Browse files
[3793] Missing method added in MapElement
parent
cfd6c7ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/cc/data.h
View file @
e2f7dfcb
...
...
@@ -675,6 +675,14 @@ public:
// a MapElement)
bool
find
(
const
std
::
string
&
id
,
ConstElementPtr
&
t
)
const
;
/// @brief Returns number of stored elements
///
/// @note: this is costly operation for a map!
/// @return number of elements.
size_t
size
()
const
{
return
(
m
.
size
());
}
bool
equals
(
const
Element
&
other
)
const
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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