Skip to content

Commit

Permalink
add extra document comment
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
  • Loading branch information
Chen Lihui committed Sep 27, 2022
1 parent 57ef608 commit 5cd61f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/class_loader/class_loader_core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ class MetaObjectGraveyardVector : public MetaObjectVector
// when destroying `meta_object` in the unique_ptr deleter. Because the static variable in
// `getMetaObjectGraveyard()` could be finalized before the static variable
// `g_register_plugin_ ## UniqueID` in some circumstances.
// NOTE of vector dctor in the STL: `note that if the elements themselves are pointers, the
// pointed-to memory is not touched in any way. Managing the pointer is the user's
// responsibility.`
clear();
}
};
Expand Down

0 comments on commit 5cd61f2

Please sign in to comment.