[
https://issues.apache.org/jira/browse/MINIFICPP-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits updated MINIFICPP-1755:
--------------------------------------
Description: 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). (was: 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`.)
> 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
> Priority: Major
>
> 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.7#820007)