-
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.
Support std::initializer_list in folly::range
Summary: Support `std::initializer_list<T>` in the `folly::range` and `folly::crange` helper functions, returning `folly::Range<const T*>`. This is to make it easier to forward `std::initializer_list<T>` parameters to `folly::Range` ones in customer code. Reviewed By: ot Differential Revision: D54115340 fbshipit-source-id: d47b2fee73415890f746dba578f0d7770c90637e
- Loading branch information
1 parent
4c624e2
commit 2d434ee
Showing
2 changed files
with
26 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