-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate uses of maybe_managed_ptr → managed_object_ptr
Summary: The name `maybe_managed_ptr<T>` got kind of confusing because the type was being used for 3 different things. All these cases are now documented in doc blocks and we have `object::as_static`, `object::owned`, and `object::derive` as helper functions to make intentions clearer at call-sites. Furthermore, `maybe_managed_ptr<T>` name has been dropped in favor of `managed_object_ptr<T>`. Change is no-op. This just improves readability. Reviewed By: thedavekwon Differential Revision: D67928745 fbshipit-source-id: e0ed7f74b67499cb7462e9e3ec7fd885fc323977
- Loading branch information
1 parent
5d57aea
commit 413d2f0
Showing
4 changed files
with
70 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters