-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: A facility like `atomic_grow_array::as_view` but which returns a `folly::span` which, if `std::span` is available, is an alias to `std::span`. This allows using, for example, `span::subspan`, or calling any function which takes `span` for deduced template-type. Note that this does expose the internal array and is the only member which does. `atomic_grow_array::view`, for example, does not expose the internal array. Differential Revision: D66737577 fbshipit-source-id: ae92e3653ac575dc314a067e715a1fb90b8a27b3
- Loading branch information
1 parent
1a813a9
commit 7b2eefb
Showing
3 changed files
with
38 additions
and
0 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