Skip to content
Snippets Groups Projects
Commit 9a68bb8d authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'doc.CxxUtils-20181211' into 'master'

CxxUtils: Update documentation.

See merge request atlas/athena!16667

Former-commit-id: 3fcbf6ca
parents 1c4edb76 0daf3b36
No related branches found
No related tags found
No related merge requests found
...@@ -313,9 +313,11 @@ public: ...@@ -313,9 +313,11 @@ public:
* @param ptr Payload for this element. * @param ptr Payload for this element.
* @param ctx Execution context. * @param ctx Execution context.
* *
* Returns true if the new element was successfully inserted. * Returns SUCCESS if the new element was successfully inserted.
* Returns false if the range compared equal to an existing one. In that case, * Returns DUPLICATE if the range compared equal to an existing one. In that case,
* no new element is inserted (and @c ptr gets deleted). * no new element is inserted (and @c ptr gets deleted).
* Returns OVERLAP if the range of the new element overlaps
* an existing element (the new element is still inserted).
*/ */
EmplaceResult emplace (const RANGE& range, EmplaceResult emplace (const RANGE& range,
payload_unique_ptr ptr, payload_unique_ptr ptr,
......
...@@ -165,9 +165,11 @@ CONCURRENTRANGEMAP::find (const key_query_type& key) const ...@@ -165,9 +165,11 @@ CONCURRENTRANGEMAP::find (const key_query_type& key) const
* @param ptr Payload for this element. * @param ptr Payload for this element.
* @param ctx Execution context. * @param ctx Execution context.
* *
* Returns true if the new element was successfully inserted. * Returns SUCCESS if the new element was successfully inserted.
* Returns false if the range compared equal to an existing one. In that case, * Returns DUPLICATE if the range compared equal to an existing one. In that case,
* no new element is inserted (and @c ptr gets deleted). * no new element is inserted (and @c ptr gets deleted).
* Returns OVERLAP if the range of the new element overlaps
* an existing element (the new element is still inserted).
*/ */
T_CONCURRENTRANGEMAP T_CONCURRENTRANGEMAP
typename CONCURRENTRANGEMAP::EmplaceResult typename CONCURRENTRANGEMAP::EmplaceResult
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment