You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2022/05/13 09:40:00 UTC

[jira] [Updated] (MINIFICPP-1755) Use std::span instead of gsl::span

     [ 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`.  (was: The move is not trivial, because there is no .as_span<T> member of std::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`.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)