-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With a little bit of cleverness, we can add `best::span` to the `fwd.h` header. The primary obstacle was that it has a `best::option<size_t>` template parameter, which is not defined until way later. However, by making that `size_t` dependent on the first template parameter, we eliminate this problem by forcing two-phase lookup.
- Loading branch information
Showing
4 changed files
with
66 additions
and
69 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
Oops, something went wrong.