[
https://issues.apache.org/jira/browse/MINIFICPP-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz resolved MINIFICPP-1755.
-------------------------------------
Resolution: Fixed
> Use std::span instead of gsl::span
> ----------------------------------
>
> Key: MINIFICPP-1755
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1755
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Marton Szasz
> Assignee: Adam Debreceni
> Priority: Major
> Labels: MiNiFi-CPP-Hygiene
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> The move is not trivial, because there is no .as_span<T> member of std::span.
> There is `as_bytes()`, but we do (rarely) use `as_span` with types other
> than `std::byte`, too. We could write a free-standing utility function for
> the non-byte case of `as_span` (and maybe some of those cases could use
> `std::byte` instead).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)