Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script_extensions should return an optional<span<Script>> #5

Open
christianparpart opened this issue May 12, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@christianparpart
Copy link
Member

christianparpart commented May 12, 2021

script_extensions should return an optional<span<Script>>

this requires C++20 though. maybe auto-detect if that is the case, and if not, provide a custom span<T> type for that.

also make use of that in contour when implemented.

So the signature for the additional function would be:

std::optional<std::span<Script>> script_extensions(char32_t _codepoint) noexcept;
@christianparpart christianparpart added the enhancement New feature or request label May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant